diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/usb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/usb.c b/firmware/usb.c index 1c90d63519..c71111a548 100644 --- a/firmware/usb.c +++ b/firmware/usb.c | |||
@@ -404,8 +404,12 @@ bool usb_detect(void) | |||
404 | if (USB2D_IDENT != 0x22FA05) { | 404 | if (USB2D_IDENT != 0x22FA05) { |
405 | return false; | 405 | return false; |
406 | } | 406 | } |
407 | #ifdef APPLE_IPODVIDEO | ||
408 | current_status = (GPIOB_INPUT_VAL & 0x01)?false:true; | ||
409 | #else | ||
407 | current_status = (USB_STATUS & 0x800)?true:false; | 410 | current_status = (USB_STATUS & 0x800)?true:false; |
408 | #endif | 411 | #endif |
412 | #endif | ||
409 | #ifdef USB_ISP1582 | 413 | #ifdef USB_ISP1582 |
410 | /* TODO: Implement USB_ISP1582 */ | 414 | /* TODO: Implement USB_ISP1582 */ |
411 | current_status = false; | 415 | current_status = false; |