Skip to content

Commit c7fcac9

Browse files
committed
feat(bootloader): Boot close IRQ with level 3
1 parent e5618e9 commit c7fcac9

File tree

1 file changed

+4
-0
lines changed
  • components/esp8266/include/driver

1 file changed

+4
-0
lines changed

components/esp8266/include/driver/soc.h

+4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ static inline esp_irqflag_t soc_save_local_irq(void)
3131
esp_irqflag_t flag;
3232

3333
__asm__ __volatile__(
34+
#ifdef BOOTLOADER_BUILD
35+
"rsil %0, 3\n"
36+
#else
3437
"rsil %0, 1\n"
38+
#endif
3539
: "=a"(flag)
3640
:
3741
: "memory"

0 commit comments

Comments
 (0)