mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +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
|
* sleep in a reduced power mode until an interrupt occurs to save power
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if XCHAL_HAVE_INTERRUPTS
|
||||||
|
__asm__ __volatile__ ("waiti 0");
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user