diff options
author | Dave Chapman <dave@dchapman.com> | 2006-02-10 14:45:13 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-02-10 14:45:13 +0000 |
commit | 32ed0d80a9d2382df3472afa4e3b095a4f6ed222 (patch) | |
tree | 0ecd4c9f753f9515f5f2b05e9f28381eabfe44ac | |
parent | 1f8529708bd65c87f601d5b425f44755da4c237c (diff) | |
download | rockbox-32ed0d80a9d2382df3472afa4e3b095a4f6ed222.tar.gz rockbox-32ed0d80a9d2382df3472afa4e3b095a4f6ed222.zip |
Fix iPod 4G grayscale warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8651 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/grayscale.c | 2 | ||||
-rw-r--r-- | firmware/SOURCES | 2 | ||||
-rw-r--r-- | firmware/export/pcf50605.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/grayscale.c b/apps/plugins/grayscale.c index 1154c15ebb..ff94e6ae8c 100644 --- a/apps/plugins/grayscale.c +++ b/apps/plugins/grayscale.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #ifndef SIMULATOR /* not for simulator by now */ | 22 | #ifndef SIMULATOR /* not for simulator by now */ |
23 | #include "plugin.h" | 23 | #include "plugin.h" |
24 | 24 | ||
25 | #if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) | 25 | #if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && (CONFIG_LCD != LCD_IPOD2BPP) |
26 | #include "gray.h" | 26 | #include "gray.h" |
27 | 27 | ||
28 | PLUGIN_HEADER | 28 | PLUGIN_HEADER |
diff --git a/firmware/SOURCES b/firmware/SOURCES index b8bf378074..53923b3c35 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES | |||
@@ -116,7 +116,7 @@ drivers/mas.c | |||
116 | #ifdef IRIVER_H300_SERIES | 116 | #ifdef IRIVER_H300_SERIES |
117 | drivers/pcf50606.c | 117 | drivers/pcf50606.c |
118 | #endif | 118 | #endif |
119 | #if defined(APPLE_IPODCOLOR) || defined(APPLE_IPODNANO) || defined(APPLE_IPODVIDEO) || defined(APPLE_IPOD3G) || defined(APPLE_IPOD4G) | 119 | #ifdef IPOD_ARCH |
120 | drivers/pcf50605.c | 120 | drivers/pcf50605.c |
121 | #endif | 121 | #endif |
122 | #if (CONFIG_RTC == RTC_M41ST84W) || (CONFIG_RTC == RTC_PCF50606) | 122 | #if (CONFIG_RTC == RTC_M41ST84W) || (CONFIG_RTC == RTC_PCF50606) |
diff --git a/firmware/export/pcf50605.h b/firmware/export/pcf50605.h index 8da64f3325..95fcaff8fb 100644 --- a/firmware/export/pcf50605.h +++ b/firmware/export/pcf50605.h | |||
@@ -20,7 +20,7 @@ | |||
20 | #ifndef PCF50605_H | 20 | #ifndef PCF50605_H |
21 | #define PCF50605_H | 21 | #define PCF50605_H |
22 | 22 | ||
23 | #if defined(APPLE_IPODCOLOR) || defined(APPLE_IPODNANO) | 23 | #ifdef IPOD_ARCH |
24 | int pcf50605_read(int address); | 24 | int pcf50605_read(int address); |
25 | void pcf50605_read_multiple(int address, unsigned char* buf, int count); | 25 | void pcf50605_read_multiple(int address, unsigned char* buf, int count); |
26 | int pcf50605_write(int address, unsigned char val); | 26 | int pcf50605_write(int address, unsigned char val); |