summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-09-17 20:00:04 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-09-17 20:00:04 +0000
commitb0351c75888c66e6c0e44eddba6b6676608adcf2 (patch)
tree8041693c427d25c2dae4c1c851e71c411f26b1d2
parent34c4c44c5dc46bc6b3b4393cd6d511d647240060 (diff)
downloadrockbox-b0351c75888c66e6c0e44eddba6b6676608adcf2.tar.gz
rockbox-b0351c75888c66e6c0e44eddba6b6676608adcf2.tar.bz2
rockbox-b0351c75888c66e6c0e44eddba6b6676608adcf2.zip
Only define USB_ENABLE_STORAGE if USB_HAS_BULK and USE_ROCKBOX_USB are both set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28100 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index f54d004d7b..623cbf8dc0 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -953,8 +953,12 @@ Lyre prototype 1 */
#else /* BOOTLOADER */
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
+#ifdef USB_HAS_BULK
//#define USB_ENABLE_SERIAL
+#ifdef USE_ROCKBOX_USB
#define USB_ENABLE_STORAGE
+#endif /* USE_ROCKBOX_USB */
+#endif /* USB_HAS_BULK */
#ifdef USB_HAS_INTERRUPT
#define USB_ENABLE_HID