Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STM: Fix us_ticker timestamp after deep sleep
Use the `mbed_sdk_inited` flag to correct the `HAL_GetTick()` behavior after waking up from deep sleep mode. `ticker_read_us()` must not be used to read us_ticker timestamp after waking up until the us_ticker context is restored. More detailed description in issue #8117. Fixes #8117
- Loading branch information