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 7ee8111 commit 63b7e69Copy full SHA for 63b7e69
features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp
@@ -564,6 +564,9 @@ void BLE::callDispatcher()
564
timestamp_t nextTimestamp = (timestamp_t) (WsfTimerNextExpiration(&pTimerRunning) * WSF_MS_PER_TICK) * 1000;
565
if (pTimerRunning) {
566
nextTimeout.attach_us(timeoutCallback, nextTimestamp);
567
+ } else {
568
+ critical_section.disable();
569
+ _hci_driver->on_host_stack_inactivity();
570
}
571
572
0 commit comments