Merge pull request #386 from henrygab/patch-4

Fix #380 [-Wunused-variable]
This commit is contained in:
hathach authored and GitHub committed 2019-11-08 22:24:56 +07:00
commit b1b3447a84
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) )