summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipodnano2g.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-ipodnano2g.h')
-rw-r--r--firmware/export/config-ipodnano2g.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/export/config-ipodnano2g.h b/firmware/export/config-ipodnano2g.h
index 25e9eff3f0..0946610eac 100644
--- a/firmware/export/config-ipodnano2g.h
+++ b/firmware/export/config-ipodnano2g.h
@@ -161,9 +161,6 @@
161/* USB On-the-go */ 161/* USB On-the-go */
162//#define CONFIG_USBOTG USBOTG_M5636 162//#define CONFIG_USBOTG USBOTG_M5636
163 163
164/* We reboot into the OF to handle USB */
165#define USB_HANDLED_BY_OF
166
167/* Define this if you can read an absolute wheel position */ 164/* Define this if you can read an absolute wheel position */
168#define HAVE_WHEEL_POSITION 165#define HAVE_WHEEL_POSITION
169 166
@@ -201,3 +198,12 @@
201#define MIN_BRIGHTNESS_SETTING 1 198#define MIN_BRIGHTNESS_SETTING 1
202#define MAX_BRIGHTNESS_SETTING 0x2e 199#define MAX_BRIGHTNESS_SETTING 0x2e
203#define DEFAULT_BRIGHTNESS_SETTING 0x20 200#define DEFAULT_BRIGHTNESS_SETTING 0x20
201
202/* USB defines */
203#define HAVE_USBSTACK
204#define USB_ENABLE_STORAGE
205#define USB_VENDOR_ID 0x05AC
206#define USB_PRODUCT_ID 0x1260
207#define USB_NUM_ENDPOINTS 5
208/* #define USE_ROCKBOX_USB - needs testing */
209#define USB_DEVBSS_ATTR __attribute__((aligned(16)))