Skip to content

Commit

Permalink
pico: init usb before stdio
Browse files Browse the repository at this point in the history
stdio_usb will assert fail otherwise
  • Loading branch information
Daft-Freak committed Feb 24, 2025
1 parent 3d47e76 commit e6bbd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 32blit-pico/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,13 @@ int main() {
set_sys_clock_khz(250000, false);
#endif

init_usb();
stdio_init_all();

init_led();
init_display();
init_input();
init_fs();
init_usb();
#if !defined(ENABLE_CORE1)
init_audio();
#endif
Expand Down

0 comments on commit e6bbd65

Please sign in to comment.