summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/SOURCES2
-rw-r--r--bootloader/mpio_hd200.c12
2 files changed, 12 insertions, 2 deletions
diff --git a/bootloader/SOURCES b/bootloader/SOURCES
index 24d0bd2..97ed449 100644
--- a/bootloader/SOURCES
+++ b/bootloader/SOURCES
@@ -63,6 +63,6 @@ show_logo.c
#elif defined(PBELL_VIBE500)
main-pp.c
show_logo.c
-#elif defined(MPIO_HD200)
+#elif defined(MPIO_HD200) || defined(MPIO_HD300)
mpio_hd200.c
#endif
diff --git a/bootloader/mpio_hd200.c b/bootloader/mpio_hd200.c
index 98c8323..dd4510a 100644
--- a/bootloader/mpio_hd200.c
+++ b/bootloader/mpio_hd200.c
@@ -263,7 +263,9 @@ static void bootmenu(void)
switch (button)
{
case BUTTON_REW:
+#ifdef MPIO_HD200
case BUTTON_RC_REW:
+#endif
if (option > rockbox)
option--;
else
@@ -271,7 +273,9 @@ static void bootmenu(void)
break;
case BUTTON_FF:
+#ifdef MPIO_HD200
case BUTTON_RC_FF:
+#endif
if (option < shutdown)
option++;
else
@@ -279,8 +283,10 @@ static void bootmenu(void)
break;
case BUTTON_PLAY:
+#ifdef MPIO_HD200
case BUTTON_RC_PLAY:
case (BUTTON_PLAY|BUTTON_REC):
+#endif
reset_screen();
switch (option)
@@ -360,7 +366,11 @@ void main(void)
event = EVENT_NONE;
button = button_get_w_tmo(HZ);
- if ( (button & BUTTON_PLAY) || (button & BUTTON_RC_PLAY) )
+ if ( (button & BUTTON_PLAY)
+#ifdef MPIO_HD200
+ || (button & BUTTON_RC_PLAY)
+#endif
+ )
event |= EVENT_ON;
if ( usb_detect() == USB_INSERTED )