use Wire.end()

This commit is contained in:
cyberman54 2022-03-05 17:33:23 +01:00
parent 82e8c18082
commit b393dae769

View File

@ -12,8 +12,7 @@ void i2c_init(void) {
Wire.begin(); Wire.begin();
} }
// void i2c_deinit(void) { Wire.end(); } void i2c_deinit(void) { Wire.end(); }
void i2c_deinit(void) { Wire.~TwoWire(); }
void i2c_scan(void) { void i2c_scan(void) {