summaryrefslogtreecommitdiffstats
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/as3525/usb-as3525.c4
-rw-r--r--firmware/target/arm/as3525/usb-target.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/firmware/target/arm/as3525/usb-as3525.c b/firmware/target/arm/as3525/usb-as3525.c
index be62752033..524d8d2c7d 100644
--- a/firmware/target/arm/as3525/usb-as3525.c
+++ b/firmware/target/arm/as3525/usb-as3525.c
@@ -43,10 +43,6 @@ void usb_enable(bool on)
#endif
}
-void usb_init_device(void)
-{
-}
-
void usb_insert_int(void)
{
usb_status = USB_INSERTED;
diff --git a/firmware/target/arm/as3525/usb-target.h b/firmware/target/arm/as3525/usb-target.h
index 6df6d7c1d5..3643cf84b6 100644
--- a/firmware/target/arm/as3525/usb-target.h
+++ b/firmware/target/arm/as3525/usb-target.h
@@ -21,7 +21,8 @@
#ifndef USB_TARGET_H
#define USB_TARGET_H
-void usb_init_device(void);
+static inline void usb_init_device(void) { }
+
int usb_detect(void);
void usb_insert_int(void);
void usb_remove_int(void);