Fix #380 [-Wunused-variable]

This commit is contained in:
Henry Gabryjelski authored and GitHub committed 2019-11-08 01:13:39 -08:00
1 parent 3a54ca3e7d
commit 8e3c1cb13c
1 file changed
-3
@@ -167,9 +167,6 @@ void connect_callback(uint16_t conn_handle)
Serial.print("Connect Callback, conn_handle: ");
Serial.println( conn_handle );
/* Complete Local Name */
uint8_t buffer[BLE_GAP_ADV_SET_DATA_SIZE_MAX] = { 0 };
// If Service is not found, disconnect and return
Serial.print("Discovering Optical Service ... ");
if ( !sensorTagOpticalService.discover(conn_handle) )