summaryrefslogtreecommitdiffstats
path: root/apps/gui/usb_screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/usb_screen.h')
-rw-r--r--apps/gui/usb_screen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/usb_screen.h b/apps/gui/usb_screen.h
index deaca11aba..84d92d24ff 100644
--- a/apps/gui/usb_screen.h
+++ b/apps/gui/usb_screen.h
@@ -21,7 +21,11 @@
#ifndef _USB_SCREEN_H_
#define _USB_SCREEN_H_
+#ifdef USB_NONE
+static inline void gui_usb_screen_run(void) {}
+#else
extern void gui_usb_screen_run(void);
+#endif
#endif