summaryrefslogtreecommitdiff
path: root/apps/abrepeat.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/abrepeat.h')
-rw-r--r--apps/abrepeat.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/abrepeat.h b/apps/abrepeat.h
index 3c9853f2c5..8d5ea9dd66 100644
--- a/apps/abrepeat.h
+++ b/apps/abrepeat.h
@@ -28,9 +28,7 @@
28 28
29#define AB_MARKER_NONE 0 29#define AB_MARKER_NONE 0
30 30
31#if (AB_REPEAT_ENABLE == 1)
32#include "settings.h" 31#include "settings.h"
33#endif
34 32
35void ab_repeat_init(void); 33void ab_repeat_init(void);
36#if 0 /* Currently unused */ 34#if 0 /* Currently unused */
@@ -68,11 +66,7 @@ static inline bool ab_B_marker_set(void)
68 66
69static inline bool ab_repeat_mode_enabled(void) 67static inline bool ab_repeat_mode_enabled(void)
70{ 68{
71#if (AB_REPEAT_ENABLE == 2)
72 return ab_A_marker_set() || ab_B_marker_set();
73#else
74 return global_settings.repeat_mode == REPEAT_AB; 69 return global_settings.repeat_mode == REPEAT_AB;
75#endif
76} 70}
77 71
78static inline bool ab_reached_B_marker(unsigned int song_position) 72static inline bool ab_reached_B_marker(unsigned int song_position)