Skip to content

Commit ce4d6c9

Browse files
authored
Merge pull request #5942 from c1728p9/remove_tickless_assert
Remove tickless assert for tick count
2 parents 24859e9 + 8ef1a73 commit ce4d6c9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rtos/TARGET_CORTEX/mbed_rtx_idle.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ static void default_idle_hook(void)
194194

195195
core_util_critical_section_enter();
196196
uint32_t ticks_to_sleep = svcRtxKernelSuspend();
197-
MBED_ASSERT(os_timer->get_tick() == svcRtxKernelGetTickCount());
198197
if (ticks_to_sleep) {
199198
os_timer->schedule_tick(ticks_to_sleep);
200199

0 commit comments

Comments
 (0)