use Wire.end()

This commit is contained in:
cyberman54 committed 2022-03-05 17:33:23 +01:00
1 parent 82e8c18082
commit b393dae769
1 file changed
+1 -2
+1 -2
View File
@@ -12,8 +12,7 @@ void i2c_init(void) {
Wire.begin();
}
// void i2c_deinit(void) { Wire.end(); }
void i2c_deinit(void) { Wire.~TwoWire(); }
void i2c_deinit(void) { Wire.end(); }
void i2c_scan(void) {