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 2433c95 commit 8adb0ecCopy full SHA for 8adb0ec
ports/broadcom/common-hal/busio/I2C.c
@@ -55,7 +55,7 @@ void reset_i2c(void) {
55
never_reset_i2c[7] = true;
56
i2c_in_use[7] = true;
57
#endif
58
- for (size_t i = 0; i < 2; i++) {
+ for (size_t i = 0; i < NUM_I2C; i++) {
59
if (never_reset_i2c[i]) {
60
continue;
61
}
0 commit comments