mirror of https://github.com/ARMmbed/mbed-os.git
Keep a counter of sleeps blocked for every device, and do not try to unblock sleep modes we did not block. This fixes problems where serial events would cause EM1/EM2 to be unblocked too early, causing the MCU to go to EM3 and not being able to wake up. |
||
|---|---|---|
| .. | ||
| USBDevice | ||
| USBHost | ||
| doc | ||
| dsp | ||
| fs | ||
| mbed | ||
| net | ||
| rpc | ||
| rtos | ||
| tests | ||