summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-02-20 14:57:14 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-02-20 14:57:14 +0000
commit45c187ce1d5840cd0eb0c63f887b6d3831130f29 (patch)
tree78e0698a5ad3b8dd37e4013be67664585bf7fb42 /firmware
parent46bb37add6ee27f8402a68b2af6f44f824e4fd31 (diff)
FS#6674: HAVE_XXX souldn't be defined with a value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12415 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config-e200.h6
-rw-r--r--firmware/export/config-fmrecorder.h10
-rw-r--r--firmware/export/config-gigabeat.h4
-rw-r--r--firmware/export/config-h10.h6
-rw-r--r--firmware/export/config-h100.h4
-rw-r--r--firmware/export/config-h10_5gb.h6
-rw-r--r--firmware/export/config-h120.h4
-rw-r--r--firmware/export/config-h300.h6
-rw-r--r--firmware/export/config-iaudiox5.h6
-rw-r--r--firmware/export/config-ifp7xx.h6
-rw-r--r--firmware/export/config-ipod3g.h4
-rw-r--r--firmware/export/config-ipod4g.h4
-rw-r--r--firmware/export/config-ipodcolor.h6
-rw-r--r--firmware/export/config-ipodmini.h4
-rw-r--r--firmware/export/config-ipodmini2g.h4
-rw-r--r--firmware/export/config-ipodnano.h6
-rw-r--r--firmware/export/config-ipodvideo.h6
-rw-r--r--firmware/export/config-ondiofm.h4
-rw-r--r--firmware/export/config-ondiosp.h2
-rw-r--r--firmware/export/config-player.h2
-rw-r--r--firmware/export/config-recorder.h6
-rw-r--r--firmware/export/config-recorderv2.h10
-rw-r--r--firmware/export/config-tpj1022.h6
23 files changed, 61 insertions, 61 deletions
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h
index aca0e1cdc8..d6491b089c 100644
--- a/firmware/export/config-e200.h
+++ b/firmware/export/config-e200.h
@@ -8,13 +8,13 @@
#define MODEL_NAME "Sandisk Sansa e200"
/* define this if you have recording possibility */
-/*#define HAVE_RECORDING 1*/ /* TODO: add support for this */
+/*#define HAVE_RECORDING*/ /* TODO: add support for this */
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you have a colour LCD */
-#define HAVE_LCD_COLOR 1
+#define HAVE_LCD_COLOR
#define HAVE_BACKLIGHT_BRIGHTNESS
/* Main LCD backlight brightness range and defaults */
diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h
index 56c151a2c0..da2f7fbb87 100644
--- a/firmware/export/config-fmrecorder.h
+++ b/firmware/export/config-fmrecorder.h
@@ -1,8 +1,8 @@
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP
@@ -32,7 +32,7 @@
#define CONFIG_RTC RTC_M41ST84W
/* define this if you have RTC RAM available for settings */
-#define HAVE_RTC_RAM 1
+#define HAVE_RTC_RAM
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF
@@ -64,7 +64,7 @@
#define CONFIG_CPU SH7034
/* Define this if you have a FM Recorder key system */
-#define HAVE_FMADC 1
+#define HAVE_FMADC
/* Define this if you need to power on ATA */
#define NEEDS_ATA_POWER_ON
@@ -97,7 +97,7 @@
#define FIRMWARE_OFFSET_FILE_DATA 24
/* FM recorders can wake up from RTC alarm */
-#define HAVE_ALARM_MOD 1
+#define HAVE_ALARM_MOD
/* How to detect USB */
#define USB_FMRECORDERSTYLE 1
diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h
index a59e0b4fb4..f27dfa9326 100644
--- a/firmware/export/config-gigabeat.h
+++ b/firmware/export/config-gigabeat.h
@@ -9,10 +9,10 @@
#define MODEL_NUMBER 1
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you have a colour LCD */
-#define HAVE_LCD_COLOR 1
+#define HAVE_LCD_COLOR
/* define this if you have access to the quickscreen */
#define HAVE_QUICKSCREEN
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h
index de1f517cf6..94de2167ff 100644
--- a/firmware/export/config-h10.h
+++ b/firmware/export/config-h10.h
@@ -9,7 +9,7 @@
#define MODEL_NAME "iriver H10 20GB"
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define the bitmask of hardware sample rates */
#define HW_SAMPR_CAPS (SAMPR_CAP_44)
@@ -18,10 +18,10 @@
#define REC_SAMPR_CAPS (SAMPR_CAP_44)
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you have a colour LCD */
-#define HAVE_LCD_COLOR 1
+#define HAVE_LCD_COLOR
/* define this if you have access to the quickscreen */
#define HAVE_QUICKSCREEN
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index e1e52dd4db..f7fe700a3e 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -13,7 +13,7 @@
#define MODEL_NUMBER 1
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP
@@ -80,7 +80,7 @@
#define HAVE_UDA1380
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define hardware samples rate caps mask */
#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
diff --git a/firmware/export/config-h10_5gb.h b/firmware/export/config-h10_5gb.h
index 1d79947acf..2053cc53f0 100644
--- a/firmware/export/config-h10_5gb.h
+++ b/firmware/export/config-h10_5gb.h
@@ -9,7 +9,7 @@
#define MODEL_NAME "iriver H10 5/6GB"
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define the bitmask of hardware sample rates */
#define HW_SAMPR_CAPS (SAMPR_CAP_44)
@@ -18,10 +18,10 @@
#define REC_SAMPR_CAPS (SAMPR_CAP_44)
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you have a colour LCD */
-#define HAVE_LCD_COLOR 1
+#define HAVE_LCD_COLOR
/* define this if you have access to the quickscreen */
#define HAVE_QUICKSCREEN
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h
index 9bfb9583dd..e7fb73ea0f 100644
--- a/firmware/export/config-h120.h
+++ b/firmware/export/config-h120.h
@@ -8,7 +8,7 @@
#define MODEL_NUMBER 0
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP
@@ -73,7 +73,7 @@
#define HAVE_UDA1380
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define hardware samples rate caps mask */
#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h
index b44a2c5108..383bd1c632 100644
--- a/firmware/export/config-h300.h
+++ b/firmware/export/config-h300.h
@@ -8,10 +8,10 @@
#define MODEL_NUMBER 2
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you have a colour LCD */
-#define HAVE_LCD_COLOR 1
+#define HAVE_LCD_COLOR
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP
@@ -70,7 +70,7 @@
#define HAVE_UDA1380
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define hardware samples rate caps mask */
#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h
index 82c36437f5..6aeaab0431 100644
--- a/firmware/export/config-iaudiox5.h
+++ b/firmware/export/config-iaudiox5.h
@@ -7,7 +7,7 @@
#define MODEL_NUMBER 10
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define the bitmask of hardware sample rates */
#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
@@ -16,13 +16,13 @@
#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP
/* define this if you have a colour LCD */
-#define HAVE_LCD_COLOR 1
+#define HAVE_LCD_COLOR
/* define this if you can invert the colours on your LCD */
#define HAVE_LCD_INVERT
diff --git a/firmware/export/config-ifp7xx.h b/firmware/export/config-ifp7xx.h
index 2e26e56a52..d9c7590c0b 100644
--- a/firmware/export/config-ifp7xx.h
+++ b/firmware/export/config-ifp7xx.h
@@ -9,13 +9,13 @@
#define MODEL_NUMBER 6
/* define this if you have recording possibility */
-/*#define HAVE_RECORDING 1*/
+/*#define HAVE_RECORDING*/
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you have a colour LCD */
-/* #define HAVE_LCD_COLOR 1 */
+/* #define HAVE_LCD_COLOR */
/* define this if you would like tagcache to build on this target */
#define HAVE_TAGCACHE
diff --git a/firmware/export/config-ipod3g.h b/firmware/export/config-ipod3g.h
index 33609044af..0b13a52dcd 100644
--- a/firmware/export/config-ipod3g.h
+++ b/firmware/export/config-ipod3g.h
@@ -9,10 +9,10 @@
#define MODEL_NUMBER 7
/* define this if you have recording possibility */
-/*#define HAVE_RECORDING 1*/
+/*#define HAVE_RECORDING*/
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can invert the colours on your LCD */
#define HAVE_LCD_INVERT
diff --git a/firmware/export/config-ipod4g.h b/firmware/export/config-ipod4g.h
index 3827acff78..8a70ca0f56 100644
--- a/firmware/export/config-ipod4g.h
+++ b/firmware/export/config-ipod4g.h
@@ -9,7 +9,7 @@
#define MODEL_NUMBER 8
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define the bitmask of hardware sample rates */
#define HW_SAMPR_CAPS (SAMPR_CAP_44)
@@ -18,7 +18,7 @@
#define REC_SAMPR_CAPS (SAMPR_CAP_44)
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can invert the colours on your LCD */
#define HAVE_LCD_INVERT
diff --git a/firmware/export/config-ipodcolor.h b/firmware/export/config-ipodcolor.h
index 3ccfb1a879..6b338f462e 100644
--- a/firmware/export/config-ipodcolor.h
+++ b/firmware/export/config-ipodcolor.h
@@ -9,7 +9,7 @@
#define MODEL_NUMBER 3
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define the bitmask of hardware sample rates */
#define HW_SAMPR_CAPS (SAMPR_CAP_44)
@@ -18,10 +18,10 @@
#define REC_SAMPR_CAPS (SAMPR_CAP_44)
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you have a colour LCD */
-#define HAVE_LCD_COLOR 1
+#define HAVE_LCD_COLOR
/* define this if you have access to the quickscreen */
#define HAVE_QUICKSCREEN
diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h
index 423773dab7..6fa31d9e19 100644
--- a/firmware/export/config-ipodmini.h
+++ b/firmware/export/config-ipodmini.h
@@ -9,10 +9,10 @@
#define MODEL_NUMBER 9 /* TODO: change to 9 */
/* define this if you have recording possibility */
-/*#define HAVE_RECORDING 1*/
+/*#define HAVE_RECORDING*/
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can invert the colours on your LCD */
#define HAVE_LCD_INVERT
diff --git a/firmware/export/config-ipodmini2g.h b/firmware/export/config-ipodmini2g.h
index 9a7bc98815..e9e5ff01b8 100644
--- a/firmware/export/config-ipodmini2g.h
+++ b/firmware/export/config-ipodmini2g.h
@@ -9,10 +9,10 @@
#define MODEL_NUMBER 11
/* define this if you have recording possibility */
-/*#define HAVE_RECORDING 1*/
+/*#define HAVE_RECORDING*/
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can invert the colours on your LCD */
#define HAVE_LCD_INVERT
diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h
index ce0309996e..fa12d12746 100644
--- a/firmware/export/config-ipodnano.h
+++ b/firmware/export/config-ipodnano.h
@@ -9,7 +9,7 @@
#define MODEL_NUMBER 4
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define the bitmask of hardware sample rates */
#define HW_SAMPR_CAPS (SAMPR_CAP_44)
@@ -18,10 +18,10 @@
#define REC_SAMPR_CAPS (SAMPR_CAP_44)
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you have a colour LCD */
-#define HAVE_LCD_COLOR 1
+#define HAVE_LCD_COLOR
/* define this if you have access to the quickscreen */
#define HAVE_QUICKSCREEN
diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h
index f28d2d93ab..a77ca5ef45 100644
--- a/firmware/export/config-ipodvideo.h
+++ b/firmware/export/config-ipodvideo.h
@@ -9,7 +9,7 @@
#define MODEL_NUMBER 5
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define the bitmask of hardware sample rates */
#define HW_SAMPR_CAPS (SAMPR_CAP_44)
@@ -18,10 +18,10 @@
#define REC_SAMPR_CAPS (SAMPR_CAP_44)
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you have a colour LCD */
-#define HAVE_LCD_COLOR 1
+#define HAVE_LCD_COLOR
/* define this if you have access to the quickscreen */
#define HAVE_QUICKSCREEN
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h
index 78a70730d6..ca6cde3e05 100644
--- a/firmware/export/config-ondiofm.h
+++ b/firmware/export/config-ondiofm.h
@@ -1,8 +1,8 @@
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP
diff --git a/firmware/export/config-ondiosp.h b/firmware/export/config-ondiosp.h
index 23420d9f42..77746d6a95 100644
--- a/firmware/export/config-ondiosp.h
+++ b/firmware/export/config-ondiosp.h
@@ -1,5 +1,5 @@
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP
diff --git a/firmware/export/config-player.h b/firmware/export/config-player.h
index 123b7b2b81..ef5eedef79 100644
--- a/firmware/export/config-player.h
+++ b/firmware/export/config-player.h
@@ -1,5 +1,5 @@
/* define this if you have a charcell LCD display */
-#define HAVE_LCD_CHARCELLS 1
+#define HAVE_LCD_CHARCELLS
/* define this if you would like tagcache to build on this target */
#define HAVE_TAGCACHE
diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h
index a48635d272..b9759ddeac 100644
--- a/firmware/export/config-recorder.h
+++ b/firmware/export/config-recorder.h
@@ -1,8 +1,8 @@
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP
@@ -32,7 +32,7 @@
#define CONFIG_RTC RTC_M41ST84W
/* define this if you have RTC RAM available for settings */
-#define HAVE_RTC_RAM 1
+#define HAVE_RTC_RAM
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x8000
diff --git a/firmware/export/config-recorderv2.h b/firmware/export/config-recorderv2.h
index 47d5f669de..f035f2dab0 100644
--- a/firmware/export/config-recorderv2.h
+++ b/firmware/export/config-recorderv2.h
@@ -1,8 +1,8 @@
/* define this if you have recording possibility */
-#define HAVE_RECORDING 1
+#define HAVE_RECORDING
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP
@@ -32,7 +32,7 @@
#define CONFIG_RTC RTC_M41ST84W
/* define this if you have RTC RAM available for settings */
-#define HAVE_RTC_RAM 1
+#define HAVE_RTC_RAM
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF
@@ -61,7 +61,7 @@
#define CONFIG_CPU SH7034
/* Define this if you have a FM Recorder key system */
-#define HAVE_FMADC 1
+#define HAVE_FMADC
/* Define this if you need to power on ATA */
#define NEEDS_ATA_POWER_ON
@@ -94,7 +94,7 @@
#define FIRMWARE_OFFSET_FILE_DATA 24
/* FM recorders can wake up from RTC alarm */
-#define HAVE_ALARM_MOD 1
+#define HAVE_ALARM_MOD
/* Define this if you have an FM Radio */
#define CONFIG_TUNER S1A0903X01
diff --git a/firmware/export/config-tpj1022.h b/firmware/export/config-tpj1022.h
index c57c8cf5d1..8c6ba609df 100644
--- a/firmware/export/config-tpj1022.h
+++ b/firmware/export/config-tpj1022.h
@@ -8,13 +8,13 @@
#define MODEL_NUMBER 15
/* define this if you have recording possibility */
-/*#define HAVE_RECORDING 1*/ /* TODO: add support for this */
+/*#define HAVE_RECORDING*/ /* TODO: add support for this */
/* define this if you have a bitmap LCD display */
-#define HAVE_LCD_BITMAP 1
+#define HAVE_LCD_BITMAP
/* define this if you have a colour LCD */
-#define HAVE_LCD_COLOR 1
+#define HAVE_LCD_COLOR
/* define this if you have access to the quickscreen */
#define HAVE_QUICKSCREEN