summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/abrepeat.h6
-rw-r--r--apps/gui/statusbar.c2
-rw-r--r--apps/gui/wps.c8
-rw-r--r--firmware/export/config/application.h2
-rw-r--r--firmware/export/config/archosfmrecorder.h2
-rw-r--r--firmware/export/config/archosondiofm.h2
-rw-r--r--firmware/export/config/archosondiosp.h2
-rw-r--r--firmware/export/config/archosplayer.h2
-rw-r--r--firmware/export/config/archosrecorder.h2
-rw-r--r--firmware/export/config/archosrecorderv2.h2
-rw-r--r--firmware/export/config/cowond2.h2
-rw-r--r--firmware/export/config/gigabeatfx.h2
-rw-r--r--firmware/export/config/gogearhdd1630.h2
-rw-r--r--firmware/export/config/gogearhdd6330.h2
-rw-r--r--firmware/export/config/gogearsa9200.h2
-rw-r--r--firmware/export/config/iaudio7.h2
-rw-r--r--firmware/export/config/iaudiom3.h2
-rw-r--r--firmware/export/config/iaudiom5.h2
-rw-r--r--firmware/export/config/iaudiox5.h2
-rw-r--r--firmware/export/config/ipod4g.h2
-rw-r--r--firmware/export/config/ipodcolor.h2
-rw-r--r--firmware/export/config/ipodmini1g.h2
-rw-r--r--firmware/export/config/ipodmini2g.h2
-rw-r--r--firmware/export/config/ipodnano1g.h2
-rw-r--r--firmware/export/config/ipodnano2g.h2
-rw-r--r--firmware/export/config/ipodvideo.h2
-rw-r--r--firmware/export/config/iriverh10.h4
-rw-r--r--firmware/export/config/iriverh100.h2
-rw-r--r--firmware/export/config/iriverh10_5gb.h4
-rw-r--r--firmware/export/config/iriverh120.h2
-rw-r--r--firmware/export/config/iriverh300.h2
-rw-r--r--firmware/export/config/logikdax.h2
-rw-r--r--firmware/export/config/meizum3.h2
-rw-r--r--firmware/export/config/meizum6sl.h2
-rw-r--r--firmware/export/config/meizum6sp.h2
-rw-r--r--firmware/export/config/mrobe100.h2
-rw-r--r--firmware/export/config/samsungyh820.h2
-rw-r--r--firmware/export/config/samsungyh920.h2
-rw-r--r--firmware/export/config/samsungyh925.h2
-rw-r--r--firmware/export/config/samsungyps3.h2
-rw-r--r--firmware/export/config/sansac100.h2
-rw-r--r--firmware/export/config/sansac200.h2
-rw-r--r--firmware/export/config/sansac200v2.h2
-rw-r--r--firmware/export/config/sansaclip.h2
-rw-r--r--firmware/export/config/sansaclipplus.h2
-rw-r--r--firmware/export/config/sansaclipv2.h2
-rw-r--r--firmware/export/config/sansae200.h2
-rw-r--r--firmware/export/config/sansae200v2.h2
-rw-r--r--firmware/export/config/sansafuze.h2
-rw-r--r--firmware/export/config/sansafuzev2.h2
-rw-r--r--firmware/export/config/sansam200.h2
-rw-r--r--firmware/export/config/sansam200v4.h2
-rw-r--r--firmware/export/config/sansaview.h2
-rw-r--r--firmware/export/config/tatungtpj1022.h2
-rw-r--r--firmware/export/config/vibe500.h2
55 files changed, 55 insertions, 69 deletions
diff --git a/apps/abrepeat.h b/apps/abrepeat.h
index 3c9853f..8d5ea9d 100644
--- a/apps/abrepeat.h
+++ b/apps/abrepeat.h
@@ -28,9 +28,7 @@
#define AB_MARKER_NONE 0
-#if (AB_REPEAT_ENABLE == 1)
#include "settings.h"
-#endif
void ab_repeat_init(void);
#if 0 /* Currently unused */
@@ -68,11 +66,7 @@ static inline bool ab_B_marker_set(void)
static inline bool ab_repeat_mode_enabled(void)
{
-#if (AB_REPEAT_ENABLE == 2)
- return ab_A_marker_set() || ab_B_marker_set();
-#else
return global_settings.repeat_mode == REPEAT_AB;
-#endif
}
static inline bool ab_reached_B_marker(unsigned int song_position)
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c
index 2194b2f..73ccfa7 100644
--- a/apps/gui/statusbar.c
+++ b/apps/gui/statusbar.c
@@ -325,7 +325,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw, struct vi
case REPEAT_AB:
gui_statusbar_icon_play_mode(display, Icon_RepeatAB);
break;
-#endif /* AB_REPEAT_ENABLE == 1 */
+#endif /* AB_REPEAT_ENABLE */
case REPEAT_ONE:
gui_statusbar_icon_play_mode(display, Icon_RepeatOne);
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index 6b5270e..a582afa 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -888,10 +888,6 @@ long gui_wps_show(void)
{
ab_jump_to_A_marker();
break;
-#if (AB_REPEAT_ENABLE == 2)
- } else {
- ab_reset_markers();
-#endif
}
}
else
@@ -915,10 +911,6 @@ long gui_wps_show(void)
{
ab_jump_to_A_marker();
break;
-#if (AB_REPEAT_ENABLE == 2)
- } else {
- ab_reset_markers();
-#endif
}
}
else
diff --git a/firmware/export/config/application.h b/firmware/export/config/application.h
index 48c384d..a5583de 100644
--- a/firmware/export/config/application.h
+++ b/firmware/export/config/application.h
@@ -56,7 +56,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this if you do software codec */
#define CONFIG_CODEC SWCODEC
diff --git a/firmware/export/config/archosfmrecorder.h b/firmware/export/config/archosfmrecorder.h
index b64cc2d..3e2c7e9 100644
--- a/firmware/export/config/archosfmrecorder.h
+++ b/firmware/export/config/archosfmrecorder.h
@@ -71,7 +71,7 @@
#define CONFIG_TUNER S1A0903X01
#endif
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this if you have a MAS3587F */
#define CONFIG_CODEC MAS3587F
diff --git a/firmware/export/config/archosondiofm.h b/firmware/export/config/archosondiofm.h
index 39133ad..d735f1f 100644
--- a/firmware/export/config/archosondiofm.h
+++ b/firmware/export/config/archosondiofm.h
@@ -41,7 +41,7 @@
/* Define this to enable morse code input */
#define HAVE_MORSE_INPUT
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* define this if you have access to the pitchscreen */
diff --git a/firmware/export/config/archosondiosp.h b/firmware/export/config/archosondiosp.h
index 0dac0b2..6111603 100644
--- a/firmware/export/config/archosondiosp.h
+++ b/firmware/export/config/archosondiosp.h
@@ -34,7 +34,7 @@
/* Define this to enable morse code input */
#define HAVE_MORSE_INPUT
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* define this if you have access to the pitchscreen */
diff --git a/firmware/export/config/archosplayer.h b/firmware/export/config/archosplayer.h
index f5e120e..bc75433 100644
--- a/firmware/export/config/archosplayer.h
+++ b/firmware/export/config/archosplayer.h
@@ -24,7 +24,7 @@
/* define this if you have the Player's keyboard */
#define CONFIG_KEYPAD PLAYER_PAD
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* The number of bytes reserved for loadable plugins */
diff --git a/firmware/export/config/archosrecorder.h b/firmware/export/config/archosrecorder.h
index 38141e3..f64dd3c 100644
--- a/firmware/export/config/archosrecorder.h
+++ b/firmware/export/config/archosrecorder.h
@@ -60,7 +60,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x8000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this if you have a MAS3587F */
#define CONFIG_CODEC MAS3587F
diff --git a/firmware/export/config/archosrecorderv2.h b/firmware/export/config/archosrecorderv2.h
index 08ee6e8..e2f3b66 100644
--- a/firmware/export/config/archosrecorderv2.h
+++ b/firmware/export/config/archosrecorderv2.h
@@ -66,7 +66,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x8000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this if you have a MAS3587F */
#define CONFIG_CODEC MAS3587F
diff --git a/firmware/export/config/cowond2.h b/firmware/export/config/cowond2.h
index e06e9ea..f9de276 100644
--- a/firmware/export/config/cowond2.h
+++ b/firmware/export/config/cowond2.h
@@ -104,7 +104,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this if you do software codec */
#define CONFIG_CODEC SWCODEC
diff --git a/firmware/export/config/gigabeatfx.h b/firmware/export/config/gigabeatfx.h
index bcb6f73..b64f3f5 100644
--- a/firmware/export/config/gigabeatfx.h
+++ b/firmware/export/config/gigabeatfx.h
@@ -104,7 +104,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this if you have the WM8975 audio codec */
#define HAVE_WM8751
diff --git a/firmware/export/config/gogearhdd1630.h b/firmware/export/config/gogearhdd1630.h
index 4ba8d92..e4c380f 100644
--- a/firmware/export/config/gogearhdd1630.h
+++ b/firmware/export/config/gogearhdd1630.h
@@ -111,7 +111,7 @@
/* WM8731 has no tone controls, so we use the software ones */
#define HAVE_SW_TONE_CONTROLS
-/* TODO: #define AB_REPEAT_ENABLE 1 */
+/* TODO: #define AB_REPEAT_ENABLE */
/* FM Tuner */
#define CONFIG_TUNER TEA5767
diff --git a/firmware/export/config/gogearhdd6330.h b/firmware/export/config/gogearhdd6330.h
index 5bcd1c2..2ef8a43 100644
--- a/firmware/export/config/gogearhdd6330.h
+++ b/firmware/export/config/gogearhdd6330.h
@@ -111,7 +111,7 @@
/* WM8731 has no tone controls, so we use the software ones */
#define HAVE_SW_TONE_CONTROLS
-/* TODO: #define AB_REPEAT_ENABLE 1 */
+/* TODO: #define AB_REPEAT_ENABLE */
/* FM Tuner */
#define CONFIG_TUNER TEA5767
diff --git a/firmware/export/config/gogearsa9200.h b/firmware/export/config/gogearsa9200.h
index 9de624e..2d777f1 100644
--- a/firmware/export/config/gogearsa9200.h
+++ b/firmware/export/config/gogearsa9200.h
@@ -94,7 +94,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this for LCD backlight available */
#define HAVE_BACKLIGHT
diff --git a/firmware/export/config/iaudio7.h b/firmware/export/config/iaudio7.h
index 6698e13..8a04bc0 100644
--- a/firmware/export/config/iaudio7.h
+++ b/firmware/export/config/iaudio7.h
@@ -107,7 +107,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this if you do software codec */
#define CONFIG_CODEC SWCODEC
diff --git a/firmware/export/config/iaudiom3.h b/firmware/export/config/iaudiom3.h
index 08d8c39..6fdf11c 100644
--- a/firmware/export/config/iaudiom3.h
+++ b/firmware/export/config/iaudiom3.h
@@ -72,7 +72,7 @@
#define CONFIG_KEYPAD IAUDIO_M3_PAD
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* Define this if you do software codec */
diff --git a/firmware/export/config/iaudiom5.h b/firmware/export/config/iaudiom5.h
index f3ccbc0..8247440 100644
--- a/firmware/export/config/iaudiom5.h
+++ b/firmware/export/config/iaudiom5.h
@@ -89,7 +89,7 @@
/* Define this to enable morse code input */
#define HAVE_MORSE_INPUT
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* Define this if you do software codec */
diff --git a/firmware/export/config/iaudiox5.h b/firmware/export/config/iaudiox5.h
index ea7dfbc..998feed 100644
--- a/firmware/export/config/iaudiox5.h
+++ b/firmware/export/config/iaudiox5.h
@@ -91,7 +91,7 @@
/* Define this to enable morse code input */
#define HAVE_MORSE_INPUT
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* Define this if you do software codec */
diff --git a/firmware/export/config/ipod4g.h b/firmware/export/config/ipod4g.h
index 2a08a71..b0be26d 100644
--- a/firmware/export/config/ipod4g.h
+++ b/firmware/export/config/ipod4g.h
@@ -106,7 +106,7 @@
/* Define this if you have the WM8975 audio codec */
#define HAVE_WM8975
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* define this if you have a disk storage, i.e. something
diff --git a/firmware/export/config/ipodcolor.h b/firmware/export/config/ipodcolor.h
index 2b42762..428e114 100644
--- a/firmware/export/config/ipodcolor.h
+++ b/firmware/export/config/ipodcolor.h
@@ -90,7 +90,7 @@
/* Define this if you have the WM8975 audio codec */
#define HAVE_WM8975
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* define this if you have a disk storage, i.e. something
diff --git a/firmware/export/config/ipodmini1g.h b/firmware/export/config/ipodmini1g.h
index 81529a5..121a7fc 100644
--- a/firmware/export/config/ipodmini1g.h
+++ b/firmware/export/config/ipodmini1g.h
@@ -110,7 +110,7 @@
/* WM8721 has no tone controls, so we use the software ones */
#define HAVE_SW_TONE_CONTROLS
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* define this if you have a disk storage, i.e. something
diff --git a/firmware/export/config/ipodmini2g.h b/firmware/export/config/ipodmini2g.h
index 0b6e763..d2be6d1 100644
--- a/firmware/export/config/ipodmini2g.h
+++ b/firmware/export/config/ipodmini2g.h
@@ -108,7 +108,7 @@
/* WM8721 has no tone controls, so we use the software ones */
#define HAVE_SW_TONE_CONTROLS
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* define this if you have a disk storage, i.e. something
diff --git a/firmware/export/config/ipodnano1g.h b/firmware/export/config/ipodnano1g.h
index f60f3c9..d843a33 100644
--- a/firmware/export/config/ipodnano1g.h
+++ b/firmware/export/config/ipodnano1g.h
@@ -90,7 +90,7 @@
/* Define this if you have the WM8975 audio codec */
#define HAVE_WM8975
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* Define this for LCD backlight available */
diff --git a/firmware/export/config/ipodnano2g.h b/firmware/export/config/ipodnano2g.h
index 3ce4a29..a4189b3 100644
--- a/firmware/export/config/ipodnano2g.h
+++ b/firmware/export/config/ipodnano2g.h
@@ -97,7 +97,7 @@
#define CONFIG_KEYPAD IPOD_4G_PAD
-//#define AB_REPEAT_ENABLE 1
+//#define AB_REPEAT_ENABLE
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* Define this to enable morse code input */
diff --git a/firmware/export/config/ipodvideo.h b/firmware/export/config/ipodvideo.h
index 54c604f..e0c3bfb 100644
--- a/firmware/export/config/ipodvideo.h
+++ b/firmware/export/config/ipodvideo.h
@@ -95,7 +95,7 @@
/* Define this if you have the WM8758 audio codec */
#define HAVE_WM8758
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* define this if you have a disk storage, i.e. something
diff --git a/firmware/export/config/iriverh10.h b/firmware/export/config/iriverh10.h
index 95e643e..83c9265 100644
--- a/firmware/export/config/iriverh10.h
+++ b/firmware/export/config/iriverh10.h
@@ -110,7 +110,7 @@
/* WM8731 has no tone controls, so we use the software ones */
#define HAVE_SW_TONE_CONTROLS
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* FM Tuner */
#define CONFIG_TUNER TEA5767
@@ -119,7 +119,7 @@
/* Define this for LCD backlight available */
#define HAVE_BACKLIGHT
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
diff --git a/firmware/export/config/iriverh100.h b/firmware/export/config/iriverh100.h
index 5e09595..4ebbde8 100644
--- a/firmware/export/config/iriverh100.h
+++ b/firmware/export/config/iriverh100.h
@@ -105,7 +105,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define CONFIG_TUNER TEA5767
#define CONFIG_TUNER_XTAL 32768
diff --git a/firmware/export/config/iriverh10_5gb.h b/firmware/export/config/iriverh10_5gb.h
index 4e901cc..c2cffcf 100644
--- a/firmware/export/config/iriverh10_5gb.h
+++ b/firmware/export/config/iriverh10_5gb.h
@@ -89,7 +89,7 @@
/* WM8731 has no tone controls, so we use the software ones */
#define HAVE_SW_TONE_CONTROLS
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* FM Tuner */
#define CONFIG_TUNER TEA5767
@@ -102,7 +102,7 @@
/* Define this for LCD backlight available */
#define HAVE_BACKLIGHT
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define BATTERY_CAPACITY_DEFAULT 820 /* default battery capacity */
#define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
diff --git a/firmware/export/config/iriverh120.h b/firmware/export/config/iriverh120.h
index 24d1a24..44b8988 100644
--- a/firmware/export/config/iriverh120.h
+++ b/firmware/export/config/iriverh120.h
@@ -104,7 +104,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define CONFIG_TUNER TEA5767
#define CONFIG_TUNER_XTAL 32768
diff --git a/firmware/export/config/iriverh300.h b/firmware/export/config/iriverh300.h
index d21566f..c4224d0 100644
--- a/firmware/export/config/iriverh300.h
+++ b/firmware/export/config/iriverh300.h
@@ -100,7 +100,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define CONFIG_TUNER TEA5767
#define CONFIG_TUNER_XTAL 32768
diff --git a/firmware/export/config/logikdax.h b/firmware/export/config/logikdax.h
index 7d8a51f..05f24da 100644
--- a/firmware/export/config/logikdax.h
+++ b/firmware/export/config/logikdax.h
@@ -79,7 +79,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x10000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this if you do software codec */
#define CONFIG_CODEC SWCODEC
diff --git a/firmware/export/config/meizum3.h b/firmware/export/config/meizum3.h
index 58f141c..7cba1c7 100644
--- a/firmware/export/config/meizum3.h
+++ b/firmware/export/config/meizum3.h
@@ -76,7 +76,7 @@
#define CONFIG_KEYPAD MEIZU_M3_PAD
-//#define AB_REPEAT_ENABLE 1
+//#define AB_REPEAT_ENABLE
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* Define this if you do software codec */
diff --git a/firmware/export/config/meizum6sl.h b/firmware/export/config/meizum6sl.h
index d18a34d..28c0fc0 100644
--- a/firmware/export/config/meizum6sl.h
+++ b/firmware/export/config/meizum6sl.h
@@ -76,7 +76,7 @@
#define CONFIG_KEYPAD MEIZU_M6SL_PAD
-//#define AB_REPEAT_ENABLE 1
+//#define AB_REPEAT_ENABLE
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* Define this if you do software codec */
diff --git a/firmware/export/config/meizum6sp.h b/firmware/export/config/meizum6sp.h
index 11716f6..f88be04 100644
--- a/firmware/export/config/meizum6sp.h
+++ b/firmware/export/config/meizum6sp.h
@@ -82,7 +82,7 @@
#define CONFIG_KEYPAD MEIZU_M6SP_PAD
-//#define AB_REPEAT_ENABLE 1
+//#define AB_REPEAT_ENABLE
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* Define this if you do software codec */
diff --git a/firmware/export/config/mrobe100.h b/firmware/export/config/mrobe100.h
index 8c707b5..e490174 100644
--- a/firmware/export/config/mrobe100.h
+++ b/firmware/export/config/mrobe100.h
@@ -91,7 +91,7 @@
#define HAVE_WM8751
#define CODEC_SRCTRL_44100HZ (0x40|(0x11 << 1)|1)
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* define this if you have a disk storage, i.e. something
that needs spinups and can cause skips when shaked */
diff --git a/firmware/export/config/samsungyh820.h b/firmware/export/config/samsungyh820.h
index 31e6c89..d32871c 100644
--- a/firmware/export/config/samsungyh820.h
+++ b/firmware/export/config/samsungyh820.h
@@ -126,7 +126,7 @@
/* AK4537 has no tone controls, so we use the software ones */
#define HAVE_SW_TONE_CONTROLS
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
diff --git a/firmware/export/config/samsungyh920.h b/firmware/export/config/samsungyh920.h
index c841b20..f59c575 100644
--- a/firmware/export/config/samsungyh920.h
+++ b/firmware/export/config/samsungyh920.h
@@ -133,7 +133,7 @@
/* AK4537 has no tone controls, so we use the software ones */
#define HAVE_SW_TONE_CONTROLS
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
diff --git a/firmware/export/config/samsungyh925.h b/firmware/export/config/samsungyh925.h
index e962172..7137748 100644
--- a/firmware/export/config/samsungyh925.h
+++ b/firmware/export/config/samsungyh925.h
@@ -130,7 +130,7 @@
/* AK4537 has no tone controls, so we use the software ones */
#define HAVE_SW_TONE_CONTROLS
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define BATTERY_CAPACITY_DEFAULT 900 /* default battery capacity */
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
diff --git a/firmware/export/config/samsungyps3.h b/firmware/export/config/samsungyps3.h
index 0eba4a2..3062d5c 100644
--- a/firmware/export/config/samsungyps3.h
+++ b/firmware/export/config/samsungyps3.h
@@ -80,7 +80,7 @@
/* We have headphone detection */
#define HAVE_HEADPHONE_DETECTION
-//#define AB_REPEAT_ENABLE 1
+//#define AB_REPEAT_ENABLE
//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* Define this if you do software codec */
diff --git a/firmware/export/config/sansac100.h b/firmware/export/config/sansac100.h
index fc298b0..e61e426 100644
--- a/firmware/export/config/sansac100.h
+++ b/firmware/export/config/sansac100.h
@@ -68,7 +68,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x50000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this if you do software codec */
#define CONFIG_CODEC SWCODEC
diff --git a/firmware/export/config/sansac200.h b/firmware/export/config/sansac200.h
index 3240af4..1845620 100644
--- a/firmware/export/config/sansac200.h
+++ b/firmware/export/config/sansac200.h
@@ -112,7 +112,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* FM Tuner */
#define CONFIG_TUNER LV24020LP
diff --git a/firmware/export/config/sansac200v2.h b/firmware/export/config/sansac200v2.h
index 5115e91..aa9ccbe 100644
--- a/firmware/export/config/sansac200v2.h
+++ b/firmware/export/config/sansac200v2.h
@@ -109,7 +109,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x14000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* FM Tuner - suspected to be the SI4702 */
#define CONFIG_TUNER SI4700
diff --git a/firmware/export/config/sansaclip.h b/firmware/export/config/sansaclip.h
index e0f1e2b..3ef6e26 100644
--- a/firmware/export/config/sansaclip.h
+++ b/firmware/export/config/sansaclip.h
@@ -113,7 +113,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x10000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* FM Tuner */
#define CONFIG_TUNER SI4700 /* in fact SI4702 but let's hope it's compatible */
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index c52d803..8d6ffac 100644
--- a/firmware/export/config/sansaclipplus.h
+++ b/firmware/export/config/sansaclipplus.h
@@ -120,7 +120,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* FM Tuner */
#define CONFIG_TUNER (SI4700|RDA5802) /* in fact SI4702 */
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h
index eb6fb6c..ad960c3 100644
--- a/firmware/export/config/sansaclipv2.h
+++ b/firmware/export/config/sansaclipv2.h
@@ -116,7 +116,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* FM Tuner */
#define CONFIG_TUNER SI4700 /* in fact SI4702 */
diff --git a/firmware/export/config/sansae200.h b/firmware/export/config/sansae200.h
index 501e9ea..94e9e5b 100644
--- a/firmware/export/config/sansae200.h
+++ b/firmware/export/config/sansae200.h
@@ -105,7 +105,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* FM Tuner */
#define CONFIG_TUNER LV24020LP
diff --git a/firmware/export/config/sansae200v2.h b/firmware/export/config/sansae200v2.h
index f8a66ee..ef9c007 100644
--- a/firmware/export/config/sansae200v2.h
+++ b/firmware/export/config/sansae200v2.h
@@ -103,7 +103,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* FM Tuner - suspected to be the SI4702 */
#define CONFIG_TUNER SI4700
diff --git a/firmware/export/config/sansafuze.h b/firmware/export/config/sansafuze.h
index 7b7cdb0..3e1e6c5 100644
--- a/firmware/export/config/sansafuze.h
+++ b/firmware/export/config/sansafuze.h
@@ -109,7 +109,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* FM Tuner - suspected to be the SI4702 */
#define CONFIG_TUNER SI4700
diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h
index b56c8a5..78d5b3b 100644
--- a/firmware/export/config/sansafuzev2.h
+++ b/firmware/export/config/sansafuzev2.h
@@ -118,7 +118,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* FM Tuner - suspected to be the SI4702 */
#define CONFIG_TUNER SI4700
diff --git a/firmware/export/config/sansam200.h b/firmware/export/config/sansam200.h
index 25b56a8..c5eade8 100644
--- a/firmware/export/config/sansam200.h
+++ b/firmware/export/config/sansam200.h
@@ -76,7 +76,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x10000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this if you do software codec */
#define CONFIG_CODEC SWCODEC
diff --git a/firmware/export/config/sansam200v4.h b/firmware/export/config/sansam200v4.h
index c25a904..88679c1 100644
--- a/firmware/export/config/sansam200v4.h
+++ b/firmware/export/config/sansam200v4.h
@@ -81,7 +81,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x10000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define CONFIG_TUNER TEA5767
#define CONFIG_TUNER_XTAL 32768
diff --git a/firmware/export/config/sansaview.h b/firmware/export/config/sansaview.h
index 0752b6c..b0317f3 100644
--- a/firmware/export/config/sansaview.h
+++ b/firmware/export/config/sansaview.h
@@ -99,7 +99,7 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* Define this for LCD backlight available */
#define HAVE_BACKLIGHT
diff --git a/firmware/export/config/tatungtpj1022.h b/firmware/export/config/tatungtpj1022.h
index bda08c8..355c5ed 100644
--- a/firmware/export/config/tatungtpj1022.h
+++ b/firmware/export/config/tatungtpj1022.h
@@ -68,7 +68,7 @@
/* Define this if you have the WM8731 audio codec */
#define HAVE_WM8731
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
/* define this if you have a disk storage, i.e. something
that needs spinups and can cause skips when shaked */
diff --git a/firmware/export/config/vibe500.h b/firmware/export/config/vibe500.h
index 4475908..50ffde1 100644
--- a/firmware/export/config/vibe500.h
+++ b/firmware/export/config/vibe500.h
@@ -104,7 +104,7 @@
/* WM8731 has no tone controls, so we use the software ones */
#define HAVE_SW_TONE_CONTROLS
-#define AB_REPEAT_ENABLE 1
+#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* Define this for LCD backlight available */