Skip to content

Commit ee39818

Browse files
committed
FirmwareUpdater: only scan non reserved i2c addresses
Fixes #2
1 parent b94789f commit ee39818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/FirmwareUpdater/FirmwareUpdater.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ final_ack:
246246
int sendReset() {
247247
uint8_t buf[3] = { 'D', 'I', 'E' };
248248
int ret;
249-
for (int i = 30; i < 100; i++) {
249+
for (int i = 8; i < 0x78; i++) {
250250
Wire1.beginTransmission(i);
251251
ret = Wire1.endTransmission();
252252
if (ret != 2) {

0 commit comments

Comments
 (0)