Skip to content

Commit 357fa90

Browse files
authored
Merge pull request #777 from adafruit/fix-warnings
Update BLEDiscovery.cpp
2 parents eb5012b + bc21608 commit 357fa90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Bluefruit52Lib/src/BLEDiscovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ void BLEDiscovery::_eventHandler(ble_evt_t* evt)
240240

241241
LOG_LV2("DISC", "[CHR] Characteristic Count: %d", chr_rsp->count);
242242

243-
for (uint8_t i; i < chr_rsp->count; i++) {
243+
for (uint8_t i=0; i < chr_rsp->count; i++) {
244244
LOG_LV2("DISC", "[CHR] Characteristic #%d: 0x%04X", i, chr_rsp->chars[i].uuid.uuid);
245245
}
246246

0 commit comments

Comments
 (0)