summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/usb-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/usb-imx233.c')
-rw-r--r--firmware/target/arm/imx233/usb-imx233.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/imx233/usb-imx233.c b/firmware/target/arm/imx233/usb-imx233.c
index c275f76916..91fb770190 100644
--- a/firmware/target/arm/imx233/usb-imx233.c
+++ b/firmware/target/arm/imx233/usb-imx233.c
@@ -33,17 +33,17 @@
void usb_insert_int(void)
{
- usb_status_event(USB_POWERED);
+ usb_status_event(USB_INSERTED);
}
void usb_remove_int(void)
{
- usb_status_event(USB_UNPOWERED);
+ usb_status_event(USB_EXTRACTED);
}
void usb_drv_usb_detect_event()
{
- usb_status_event(USB_INSERTED);
+ usb_status_event(USB_HOSTED);
}
void usb_attach(void)