mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
AB_REPEAT_ENABLE was never defined to 2
There's only 2 possibilities: defined or undefined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27483 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bff5e3d7ab
commit
7d4414ebd8
55 changed files with 55 additions and 69 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue