mirror of https://github.com/ARMmbed/mbed-os.git
BLE - Use low power timeout in cordio::BLE::callDispatcher .
parent
63b7e69d89
commit
339c57f6a7
|
@ -555,7 +555,7 @@ void BLE::callDispatcher()
|
||||||
|
|
||||||
wsfOsDispatcher();
|
wsfOsDispatcher();
|
||||||
|
|
||||||
static Timeout nextTimeout;
|
static LowPowerTimeout nextTimeout;
|
||||||
CriticalSectionLock critical_section;
|
CriticalSectionLock critical_section;
|
||||||
|
|
||||||
if (wsfOsReadyToSleep()) {
|
if (wsfOsReadyToSleep()) {
|
||||||
|
|
Loading…
Reference in New Issue