Skip to content

Commit 38127c2

Browse files
committed
Clean up formatting
1 parent d41dda9 commit 38127c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Bluefruit52Lib/src/BLEDiscovery.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ uint8_t BLEDiscovery::discoverCharacteristic(uint16_t conn_handle, BLEClientChar
130130
// timeout or has no data (due to GATT Error)
131131
if ( bytecount <= 0 ) break;
132132

133-
if ( disc_chr->count > MAX_DISC_CHARS ) // if we truncated the response, adjust the count to match
134-
disc_chr->count = MAX_DISC_CHARS;
133+
// if we truncated the response, adjust the count to match
134+
if ( disc_chr->count > MAX_DISC_CHARS ) disc_chr->count = MAX_DISC_CHARS;
135135

136136
// Look for matched uuid in the discovered list
137137
for(uint8_t d=0 ; d<disc_chr->count; d++)

0 commit comments

Comments
 (0)