mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
light sleep: overhead time accuracy optimization for esp32c3
This commit is contained in:
@@ -612,6 +612,8 @@ void IRAM_ATTR vApplicationSleep( TickType_t xExpectedIdleTime )
|
||||
while (!(XTHAL_GET_INTERRUPT() & BIT(XT_TIMER_INTNUM))) {
|
||||
;
|
||||
}
|
||||
#elif __riscv
|
||||
portYIELD_WITHIN_API();
|
||||
#endif
|
||||
}
|
||||
other_core_should_skip_light_sleep(core_id);
|
||||
|
Reference in New Issue
Block a user