mirror of https://github.com/ARMmbed/mbed-os.git
Chrono conversions inadvertantly changed the core timed sleep routine used by the RTOS idle to use `OsTimer::update_and_get_tick()` instead of `OsTimer::get_tick()`. Correct this, and expand/clarify documentation and naming to try to prevent recurrence. Another minor fix observed while inspecting code - `OsClock` can't just use `milliseconds`, it should match the period of `OsTimer`, which theoretically can be different. |
||
---|---|---|
.. | ||
TOOLCHAIN_ARM_MICRO | ||
TOOLCHAIN_ARM_STD | ||
TOOLCHAIN_GCC_ARM | ||
TOOLCHAIN_IAR | ||
rtx4 | ||
rtx5 | ||
mbed_boot.c | ||
mbed_boot.h | ||
mbed_lib.json | ||
mbed_rtos_rtx.c | ||
mbed_rtx_conf.h | ||
mbed_rtx_handlers.c | ||
mbed_rtx_idle.cpp | ||
mbed_rtx_storage.h |