summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-11-18 08:30:01 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-11-18 08:50:05 -0500
commit7c87467ba4d6f6fabca5b167e1233d4cca1671ca (patch)
tree35dda6d0ba129551fc5ee997e46106545852a91b /firmware
parent20774d88b5dfbd1f01817c889f787d4ab6ebf76c (diff)
downloadrockbox-7c87467ba4d6f6fabca5b167e1233d4cca1671ca.tar.gz
rockbox-7c87467ba4d6f6fabca5b167e1233d4cca1671ca.tar.bz2
rockbox-7c87467ba4d6f6fabca5b167e1233d4cca1671ca.zip
configure: Add prompt for USB Serial into the advanced mode
And explicitly disable USB_ENABLE_SERIAL when HAVE_USBSTACK is not define Change-Id: Ieb4176b02a60eb1b9db81f0b8c69403898a76ca1
Diffstat (limited to 'firmware')
-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