Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Undo f695681 (r30433). USB hardware must be initialized first.

This fixes flash/ MMC access on the Ondios when booting from ROM.
Add a comment what to pay attention for in the target specific
usb_init_device().

+5 -2
+5 -2
firmware/usb.c
··· 659 659 660 660 void usb_init(void) 661 661 { 662 + /* Do required hardware inits first. For software USB the driver has 663 + * to make sure this won't trigger a transfer completion before the 664 + * queue and thread are created. */ 665 + usb_init_device(); 666 + 662 667 #ifdef USB_FULL_INIT 663 668 usb_enable(false); 664 669 ··· 672 677 tick_add_task(usb_tick); 673 678 #endif 674 679 #endif /* USB_FULL_INIT */ 675 - 676 - usb_init_device(); 677 680 } 678 681 679 682 void usb_wait_for_disconnect(struct event_queue *q)