mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
xtensa: Check XCHAL_HAVE_INTERRUPTS for waiti
This commit is contained in:
committed by
Xiang Xiao
parent
b9bf9c9a2b
commit
123b3d92df
@@ -98,5 +98,7 @@ 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");
|
__asm__ __volatile__ ("waiti 0");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user