Skip to content

Commit

Permalink
Merge pull request #777 from adafruit/fix-warnings
Browse files Browse the repository at this point in the history
Update BLEDiscovery.cpp
  • Loading branch information
hathach committed Jun 26, 2023
2 parents eb5012b + bc21608 commit 357fa90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/Bluefruit52Lib/src/BLEDiscovery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ void BLEDiscovery::_eventHandler(ble_evt_t* evt)

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

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

Expand Down

0 comments on commit 357fa90

Please sign in to comment.