mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
ESP32: Keep the 'waiti 0' instruction - noticed by Masayuki Ishikawa
This commit is contained in:
committed by
Abdelatif Guettouche
parent
8d32930d29
commit
946601da2f
@@ -73,5 +73,8 @@ void up_idle(void)
|
||||
* sleep in a reduced power mode until an interrupt occurs to save power
|
||||
*/
|
||||
|
||||
#if XCHAL_HAVE_INTERRUPTS
|
||||
__asm__ __volatile__ ("waiti 0");
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user