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.
1 parent cfd3f76 commit 4639558Copy full SHA for 4639558
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