We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0d1866 commit b90aaeeCopy full SHA for b90aaee
src/components/i2c/hardware.cpp
@@ -229,19 +229,22 @@ bool I2cHardware::ScanBus(wippersnapper_i2c_I2cBusScanned *scan_results) {
229
} else if (endTransmissionRC == 5) {
230
WS_DEBUG_PRINTLN("[i2c] Did not find device: Bus timed out!");
231
continue;
232
+ }
233
#endif // ARDUINO_ARCH_ESP32
- } else {
234
+ else {
235
WS_DEBUG_PRINTLN(
236
"[i2c] Did not find device: Unknown bus error has occured!");
237
238
}
239
240
- /* #ifndef ARDUINO_ARCH_ESP32
241
+ /*
242
+ #ifndef ARDUINO_ARCH_ESP32
243
// re-enable WipperSnapper SAMD WDT global timeout
244
WS.enableWDT(WS_WDT_TIMEOUT);
245
WS.feedWDT();
- #endif */
246
+ #endif
247
+ */
248
return true; // TODO: Change this!
249
250
0 commit comments