diff --git a/machines/cortex/tpl_machine_cortex.c b/machines/cortex/tpl_machine_cortex.c index cb617b413..d9ecd52e3 100644 --- a/machines/cortex/tpl_machine_cortex.c +++ b/machines/cortex/tpl_machine_cortex.c @@ -289,7 +289,10 @@ FUNC(uint8, OS_CODE) tpl_check_stack_footprint(CONST(tpl_proc_id, OS_APPL_DATA) */ void idle_function(void) { - while(1); + while(1) + { + __WFE(); + } } void tpl_init_machine()