summaryrefslogtreecommitdiffstats
path: root/firmware/logf.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/logf.c')
-rw-r--r--firmware/logf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/logf.c b/firmware/logf.c
index 3f9bd36112..11ffa4e15c 100644
--- a/firmware/logf.c
+++ b/firmware/logf.c
@@ -43,6 +43,8 @@
#ifdef HAVE_USBSTACK
#include "usb_core.h"
#include "usbstack/usb_serial.h"
+#else
+#undef USB_ENABLE_SERIAL
#endif
#ifdef ROCKBOX_HAS_LOGDISKF