diff options
Diffstat (limited to 'firmware/usb.c')
-rw-r--r-- | firmware/usb.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/firmware/usb.c b/firmware/usb.c index 6b226bd43b..2adf28a52b 100644 --- a/firmware/usb.c +++ b/firmware/usb.c @@ -72,11 +72,6 @@ static bool usb_monitor_enabled; static void usb_enable(bool on) { -#ifdef HAVE_LCD_BITMAP - if(read_hw_mask() & USB_ACTIVE_HIGH) - on = !on; -#endif - #ifdef USB_ENABLE_ONDIOSTYLE if(on) { @@ -88,6 +83,10 @@ static void usb_enable(bool on) } or_b(0x20, &PAIORL); /* output for USB enable */ #else /* standard HD Jukebox */ +#ifdef HAVE_LCD_BITMAP + if(read_hw_mask() & USB_ACTIVE_HIGH) + on = !on; +#endif if(on) { and_b(~0x04, &PADRH); /* enable USB */ |