Skip to content

Commit a192988

Browse files
committed
Merge branch 'feature/boot_close_irq_with_level_3' into 'master'
feat(bootloader): Boot close IRQ with level 3 See merge request sdk/ESP8266_RTOS_SDK!1655
2 parents e5618e9 + c7fcac9 commit a192988

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)