1
0
Fork 0
forked from len0rd/rockbox

Removed the start-original-with-remote bootloader feature

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7073 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-07-08 15:36:12 +00:00
parent e82df4e597
commit a39026ac5e

View file

@ -202,13 +202,14 @@ void main(void)
sleep(HZ/50); /* Allow the button driver to check the buttons */ sleep(HZ/50); /* Allow the button driver to check the buttons */
if(button_status() & BUTTON_REC || rc_on_button) { if(button_status() & BUTTON_REC) {
lcd_puts(0, 8, "Starting original firmware..."); lcd_puts(0, 8, "Starting original firmware...");
lcd_update(); lcd_update();
start_iriver_fw(); start_iriver_fw();
} }
if(on_button & button_hold()) { if(on_button & button_hold() ||
rc_on_button & remote_button_hold()) {
lcd_puts(0, 8, "HOLD switch on, power off..."); lcd_puts(0, 8, "HOLD switch on, power off...");
lcd_update(); lcd_update();
sleep(HZ*2); sleep(HZ*2);
@ -217,14 +218,6 @@ void main(void)
asm(" move.l %d0,0x10017ffc"); asm(" move.l %d0,0x10017ffc");
power_off(); power_off();
} }
#if 0
if((button_status() & BUTTON_RC_ON) & remote_button_hold()) {
lcd_puts(0, 8, "HOLD switch on, power off...");
lcd_update();
sleep(HZ/2);
power_off();
}
#endif
rc = ata_init(); rc = ata_init();
if(rc) if(rc)