Skip to content

Commit 0afd6ae

Browse files
Fix order of bootsel IRQ/idle calls (#572)
Reverse the order of IRQ and idle restore to match the way they were initiated.
1 parent 07500e8 commit 0afd6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/rp2040/Bootsel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ static bool __no_inline_not_in_flash_func(get_bootsel_button)() {
4747
GPIO_OVERRIDE_NORMAL << IO_QSPI_GPIO_QSPI_SS_CTRL_OEOVER_LSB,
4848
IO_QSPI_GPIO_QSPI_SS_CTRL_OEOVER_BITS);
4949

50-
interrupts();
5150
rp2040.resumeOtherCore();
51+
interrupts();
5252

5353
return button_state;
5454
}

0 commit comments

Comments
 (0)