Skip to content

Commit 5b8fb2b

Browse files
committed
Fix using stdio_usb and other interrupts from encrypted binaries
1 parent b6ac07f commit 5b8fb2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bootloaders/encrypted/hello_serial.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66

77
#include <stdio.h>
88
#include "pico/stdlib.h"
9+
#include "hardware/sync.h"
910

1011
int main() {
12+
restore_interrupts_from_disabled(0);
1113
stdio_init_all();
1214
while (true) {
1315
printf("Hello, world!\n");

0 commit comments

Comments
 (0)