diff options
-rw-r--r-- | firmware/usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/usb.c b/firmware/usb.c index ad4f2b9325..18f2a2aa07 100644 --- a/firmware/usb.c +++ b/firmware/usb.c | |||
@@ -177,9 +177,9 @@ void usb_enable(bool on) | |||
177 | { | 177 | { |
178 | /* The following code is copied from ipodlinux */ | 178 | /* The following code is copied from ipodlinux */ |
179 | #if defined(APPLE_IPODCOLOR) || defined(APPLE_IPOD3G) || \ | 179 | #if defined(APPLE_IPODCOLOR) || defined(APPLE_IPOD3G) || \ |
180 | defined(APPLE_IPOD4G) || defined(APPLE_IPODMINI) | 180 | defined(APPLE_IPOD4G) || defined(IPOD_MINI) |
181 | unsigned char* storage_ptr = (unsigned char *)0x40017F00; | 181 | unsigned char* storage_ptr = (unsigned char *)0x40017F00; |
182 | #elif defined(APPLE_IPODNANO) || defined(APPLE_IPODVIDEO) | 182 | #elif defined(APPLE_IPODNANO) || defined(APPLE_IPODVIDEO) || defined(IPOD_MINI2G) |
183 | unsigned char* storage_ptr = (unsigned char *)0x4001FF00; | 183 | unsigned char* storage_ptr = (unsigned char *)0x4001FF00; |
184 | #endif | 184 | #endif |
185 | memcpy(storage_ptr, "diskmode\0\0hotstuff\0\0\1", 21); | 185 | memcpy(storage_ptr, "diskmode\0\0hotstuff\0\0\1", 21); |