diff --git a/src/i2c.cpp b/src/i2c.cpp index 530dee4c..538d1681 100644 --- a/src/i2c.cpp +++ b/src/i2c.cpp @@ -12,7 +12,8 @@ void i2c_init(void) { Wire.begin(); } -void i2c_deinit(void) { Wire.end(); } +//void i2c_deinit(void) { Wire.end(); } +void i2c_deinit(void) { Wire.~TwoWire(); } void i2c_scan(void) {