summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/pnx0101/iriver-ifp7xx/usb-ifp7xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/pnx0101/iriver-ifp7xx/usb-ifp7xx.c')
-rw-r--r--firmware/target/arm/pnx0101/iriver-ifp7xx/usb-ifp7xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/pnx0101/iriver-ifp7xx/usb-ifp7xx.c b/firmware/target/arm/pnx0101/iriver-ifp7xx/usb-ifp7xx.c
index a22a227b15..3761c84a50 100644
--- a/firmware/target/arm/pnx0101/iriver-ifp7xx/usb-ifp7xx.c
+++ b/firmware/target/arm/pnx0101/iriver-ifp7xx/usb-ifp7xx.c
@@ -37,10 +37,10 @@ void usb_init_device(void)
{
}
-bool usb_detect(void)
+int usb_detect(void)
{
/* TODO: Implement USB_ISP1582 */
- return false;
+ return USB_EXTRACTED;
}
void usb_enable(bool on)