A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

mrobe500 bootloader fix

Change-Id: I0ab99a427df34ef6c5899a280953250660ffc156

+6 -14
+6 -14
bootloader/mrobe500.c
··· 18 18 * KIND, either express or implied. 19 19 * 20 20 ****************************************************************************/ 21 - 21 + 22 22 #include "inttypes.h" 23 23 #include "string.h" 24 24 #include "cpu.h" ··· 31 31 #include "font.h" 32 32 #include "adc.h" 33 33 #include "backlight.h" 34 - #include "backlight-target.h" 35 34 #include "button.h" 36 - #include "panic.h" 37 35 #include "power.h" 38 36 #include "file.h" 39 37 #include "common.h" 40 38 #include "rb-loader.h" 41 39 #include "loader_strerror.h" 42 - #include "rbunicode.h" 43 40 #include "usb.h" 44 - #include "spi.h" 45 - #include "uart-target.h" 46 - #include "tsc2100.h" 47 - #include "time.h" 48 - #include "system-arm.h" 49 41 #include "version.h" 50 42 51 43 void main(void) ··· 60 52 set_fiq_status(FIQ_DISABLED); 61 53 system_init(); 62 54 kernel_init(); 63 - 55 + 64 56 /* Now enable interrupts */ 65 57 set_irq_level(IRQ_ENABLED); 66 58 set_fiq_status(FIQ_ENABLED); ··· 70 62 font_init(); 71 63 button_init(); 72 64 usb_init(); 73 - 74 - 65 + 66 + 75 67 power_init(); 76 68 // enable_irq(); 77 69 // enable_fiq(); ··· 112 104 reset_screen(); 113 105 lcd_update(); 114 106 } 115 - 107 + 116 108 sleep(50); 117 109 118 110 printf("ATA"); ··· 146 138 rc = kernel_entry(); 147 139 148 140 /* Should not get here! */ 149 - return rc; 141 + while(1); 150 142 }