Skip to content
Snippets Groups Projects
Commit feff6013 authored by Paul D'Angio's avatar Paul D'Angio
Browse files

Fixed double deinitialization of the driver

parent 4b73c141
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,6 @@ rpi_driver::rpi_driver() ...@@ -21,7 +21,6 @@ rpi_driver::rpi_driver()
} }
rpi_driver::~rpi_driver() rpi_driver::~rpi_driver()
{ {
rpi_driver::deinitialize();
} }
void rpi_driver::initialize_i2c(unsigned int i2c_bus, unsigned int i2c_address, unsigned int interrupt_gpio_pin) void rpi_driver::initialize_i2c(unsigned int i2c_bus, unsigned int i2c_address, unsigned int interrupt_gpio_pin)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment