forked from len0rd/rockbox
Get rid of the redundant APPLE_* macros. * Fix wrong comments in lcd-ipod.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9561 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
37e386f3d8
commit
4ac150e8d3
14 changed files with 13 additions and 27 deletions
|
|
@ -176,10 +176,10 @@ void usb_enable(bool on)
|
|||
if (on)
|
||||
{
|
||||
/* The following code is copied from ipodlinux */
|
||||
#if defined(APPLE_IPODCOLOR) || defined(APPLE_IPOD3G) || \
|
||||
defined(APPLE_IPOD4G) || defined(IPOD_MINI)
|
||||
#if defined(IPOD_COLOR) || defined(IPOD_3G) || \
|
||||
defined(IPOD_4G) || defined(IPOD_MINI)
|
||||
unsigned char* storage_ptr = (unsigned char *)0x40017F00;
|
||||
#elif defined(APPLE_IPODNANO) || defined(APPLE_IPODVIDEO) || defined(IPOD_MINI2G)
|
||||
#elif defined(IPOD_NANO) || defined(IPOD_VIDEO) || defined(IPOD_MINI2G)
|
||||
unsigned char* storage_ptr = (unsigned char *)0x4001FF00;
|
||||
#endif
|
||||
memcpy(storage_ptr, "diskmode\0\0hotstuff\0\0\1", 21);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue