Skip to content

Commit fc63ac9

Browse files
henrygabNaotoFujihiro
authored andcommitted
Fix adafruit#380 [-Wunused-variable]
1 parent 4879e09 commit fc63ac9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libraries/Bluefruit52Lib/examples/Central/central_ti_sensortag_optical/central_ti_sensortag_optical.ino

-3
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@ void connect_callback(uint16_t conn_handle)
167167
Serial.print("Connect Callback, conn_handle: ");
168168
Serial.println( conn_handle );
169169

170-
/* Complete Local Name */
171-
uint8_t buffer[BLE_GAP_ADV_SET_DATA_SIZE_MAX] = { 0 };
172-
173170
// If Service is not found, disconnect and return
174171
Serial.print("Discovering Optical Service ... ");
175172
if ( !sensorTagOpticalService.discover(conn_handle) )

0 commit comments

Comments
 (0)