more clean up

This commit is contained in:
hathach committed 2017-07-12 22:03:39 +07:00
1 parent 3a022cb2a1
commit 118fd0c128
1 file changed
-9
@@ -217,15 +217,6 @@ void BLECentral::_event_handler(ble_evt_t* evt)
_conn_hdl = BLE_CONN_HANDLE_INVALID;
break;
case BLE_GAP_EVT_TIMEOUT:
if (evt->evt.gap_evt.params.timeout.src == BLE_GAP_TIMEOUT_SRC_SCAN)
{
// TODO Advance Scanning
// Restart Scanning
Bluefruit.Scanner.start(0);
}
break;
default: break;
}
}