mirror of https://github.com/ARMmbed/mbed-os.git
mbed_rtx_idle: uVisor: Don't attempt to sleep
When uVisor is enabled, don't attempt to sleep. Attempting to sleep will fail, as per <https://github.com/ARMmbed/uvisor/issues/420>.pull/5107/head
parent
7b428916f5
commit
0d34c3636e
|
@ -195,6 +195,14 @@ static void default_idle_hook(void)
|
||||||
core_util_critical_section_exit();
|
core_util_critical_section_exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#elif defined(FEATURE_UVISOR)
|
||||||
|
|
||||||
|
static void default_idle_hook(void)
|
||||||
|
{
|
||||||
|
/* uVisor can't sleep. See <https://github.com/ARMmbed/uvisor/issues/420>
|
||||||
|
* for details. */
|
||||||
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
static void default_idle_hook(void)
|
static void default_idle_hook(void)
|
||||||
|
|
Loading…
Reference in New Issue