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 97486a6 + f294447 commit d0665c8Copy full SHA for d0665c8
features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp
@@ -423,10 +423,10 @@ void BLE::callDispatcher()
423
424
wsfOsDispatcher();
425
426
+ static Timeout nextTimeout;
427
CriticalSectionLock critical_section;
428
429
if (wsfOsReadyToSleep()) {
- static Timeout nextTimeout;
430
// setup an mbed timer for the next Cordio timeout
431
bool_t pTimerRunning;
432
timestamp_t nextTimestamp = (timestamp_t) (WsfTimerNextExpiration(&pTimerRunning) * WSF_MS_PER_TICK) * 1000;
0 commit comments