We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b3c4a08 + 4639558 commit e690442Copy full SHA for e690442
libraries/Bluefruit52Lib/src/BLEAdvertising.cpp
@@ -418,7 +418,7 @@ void BLEAdvertising::_eventHandler(ble_evt_t* evt)
418
break;
419
420
case BLE_GAP_EVT_DISCONNECTED:
421
- if ( bitRead(_conn_mask, conn_hdl) && (0 == Bluefruit.connected()) )
+ if ( bitRead(_conn_mask, conn_hdl) && (0 == Bluefruit.Periph.connected()) )
422
{
423
bitClear(_conn_mask, conn_hdl);
424
0 commit comments