ESP32: Keep the 'waiti 0' instruction - noticed by Masayuki Ishikawa

This commit is contained in:
Alan C. Assis
2020-08-27 09:20:00 -03:00
committed by Abdelatif Guettouche
parent 8d32930d29
commit 946601da2f
+3
View File
@@ -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
}