summaryrefslogtreecommitdiff
path: root/firmware/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usb.c')
-rw-r--r--firmware/usb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index 98f224f781..bd2fde3ab8 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -180,6 +180,9 @@ void usb_enable(bool on)
180 outl(1, 0x40017F10); 180 outl(1, 0x40017F10);
181 outl(inl(0x60006004) | 0x4, 0x60006004); 181 outl(inl(0x60006004) | 0x4, 0x60006004);
182 } 182 }
183#elif defined(USB_ISP1582)
184 /* TODO: Implement USB_ISP1582 */
185 (void) on;
183#else 186#else
184#ifdef HAVE_LCD_BITMAP 187#ifdef HAVE_LCD_BITMAP
185 if(read_hw_mask() & USB_ACTIVE_HIGH) 188 if(read_hw_mask() & USB_ACTIVE_HIGH)
@@ -404,6 +407,10 @@ bool usb_detect(void)
404 } 407 }
405 current_status = (USB_STATUS & 0x800)?true:false; 408 current_status = (USB_STATUS & 0x800)?true:false;
406#endif 409#endif
410#ifdef USB_ISP1582
411 /* TODO: Implement USB_ISP1582 */
412 current_status = false;
413#endif
407 return current_status; 414 return current_status;
408} 415}
409 416