Skip to content

Commit 47ff50d

Browse files
committed
esp32s2: make unimplemented reset_cpu at least not return
1 parent 4304ea7 commit 47ff50d

File tree

1 file changed

+2
-0
lines changed
  • ports/esp32s2/supervisor

1 file changed

+2
-0
lines changed

ports/esp32s2/supervisor/port.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ void reset_to_bootloader(void) {
121121
}
122122

123123
void reset_cpu(void) {
124+
for (;;) {
125+
}
124126
}
125127

126128
uint32_t *port_heap_get_bottom(void) {

0 commit comments

Comments
 (0)