Correct Rec+ON check in the iriver bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7087 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e51fc6d8da
commit
d1af08f9cb
1 changed files with 3 additions and 2 deletions
|
@ -217,11 +217,12 @@ void main(void)
|
|||
|
||||
snprintf(buf, 256, "Rockboot version 3");
|
||||
lcd_puts(0, line++, buf);
|
||||
lcd_update();
|
||||
|
||||
sleep(HZ/50); /* Allow the button driver to check the buttons */
|
||||
|
||||
if(button_status() & BUTTON_REC ||
|
||||
button_status() & BUTTON_RC_REC) {
|
||||
if(((button_status() & BUTTON_REC) == BUTTON_REC) ||
|
||||
((button_status() & BUTTON_RC_REC) == BUTTON_RC_REC)) {
|
||||
lcd_puts(0, 8, "Starting original firmware...");
|
||||
lcd_update();
|
||||
start_iriver_fw();
|
||||
|
|
Loading…
Reference in a new issue