summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2008-03-04 14:36:22 +0000
committerBarry Wardell <rockbox@barrywardell.net>2008-03-04 14:36:22 +0000
commit46973f7f9f37cd07b90da4eb57296495af883fdc (patch)
treecf6660d359fab1295fca0df2be44b3aefd0a6fd9
parent0449c0ef5d3397ac6944bcb73678e087b7ef0f3e (diff)
downloadrockbox-46973f7f9f37cd07b90da4eb57296495af883fdc.zip
rockbox-46973f7f9f37cd07b90da4eb57296495af883fdc.tar.gz
rockbox-46973f7f9f37cd07b90da4eb57296495af883fdc.tar.bz2
rockbox-46973f7f9f37cd07b90da4eb57296495af883fdc.tar.xz
Only need to include these for e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16514 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/debug_menu.c2
-rw-r--r--firmware/export/config-e200.h2
-rw-r--r--firmware/export/config-h10.h2
-rw-r--r--firmware/usbstack/usb_storage.c4
4 files changed, 8 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 21ed3e1..3db6026 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -97,8 +97,10 @@
#include "debug-target.h"
#endif
+#if defined(SANSA_E200)
#include "i2c-pp.h"
#include "as3514.h"
+#endif
/*---------------------------------------------------*/
/* SPECIAL DEBUG STUFF */
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h
index c49ee23..c6c03da 100644
--- a/firmware/export/config-e200.h
+++ b/firmware/export/config-e200.h
@@ -161,6 +161,8 @@
#define HAVE_USBSTACK
#define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7421
+#define USE_ROCKBOX_USB
+#define USE_HIGH_SPEED
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h
index c69b433..d77d16b 100644
--- a/firmware/export/config-h10.h
+++ b/firmware/export/config-h10.h
@@ -156,6 +156,8 @@
#define HAVE_USBSTACK
#define USB_VENDOR_ID 0x0B70
#define USB_PRODUCT_ID 0x00BA
+#define USE_ROCKBOX_USB
+#define USE_HIGH_SPEED
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c
index f1029c3..b68b26f 100644
--- a/firmware/usbstack/usb_storage.c
+++ b/firmware/usbstack/usb_storage.c
@@ -7,7 +7,7 @@
* \/ \/ \/ \/ \/
* $Id: $
*
- * Copyright (C) 2007 by Björn Stenberg
+ * Copyright (C) 2007 by Bj�rn Stenberg
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
@@ -20,7 +20,7 @@
#include "system.h"
#include "usb_core.h"
#include "usb_drv.h"
-//#define LOGF_ENABLE
+#define LOGF_ENABLE
#include "logf.h"
#include "ata.h"
#include "hotswap.h"