diff options
Diffstat (limited to 'apps/abrepeat.c')
-rw-r--r-- | apps/abrepeat.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/abrepeat.c b/apps/abrepeat.c index f6ca3096cb..5fbd880a17 100644 --- a/apps/abrepeat.c +++ b/apps/abrepeat.c | |||
@@ -24,14 +24,12 @@ | |||
24 | 24 | ||
25 | #ifdef AB_REPEAT_ENABLE | 25 | #ifdef AB_REPEAT_ENABLE |
26 | 26 | ||
27 | unsigned int test = 1; | ||
28 | unsigned int ab_A_marker IDATA_ATTR = AB_MARKER_NONE; | 27 | unsigned int ab_A_marker IDATA_ATTR = AB_MARKER_NONE; |
29 | unsigned int ab_B_marker IDATA_ATTR = AB_MARKER_NONE; | 28 | unsigned int ab_B_marker IDATA_ATTR = AB_MARKER_NONE; |
30 | bool foo = false; | 29 | |
31 | #if (CONFIG_CODEC == SWCODEC) | 30 | #if (CONFIG_CODEC == SWCODEC) |
32 | void ab_end_of_track_report(void) | 31 | void ab_end_of_track_report(void) |
33 | { | 32 | { |
34 | test = 2; | ||
35 | if ( ab_A_marker_set() && ! ab_B_marker_set() ) | 33 | if ( ab_A_marker_set() && ! ab_B_marker_set() ) |
36 | { | 34 | { |
37 | ab_jump_to_A_marker(); | 35 | ab_jump_to_A_marker(); |
@@ -40,7 +38,6 @@ void ab_end_of_track_report(void) | |||
40 | #else | 38 | #else |
41 | static int ab_audio_event_handler(unsigned short event, unsigned long data) | 39 | static int ab_audio_event_handler(unsigned short event, unsigned long data) |
42 | { | 40 | { |
43 | foo = true; | ||
44 | int rc = AUDIO_EVENT_RC_IGNORED; | 41 | int rc = AUDIO_EVENT_RC_IGNORED; |
45 | if ( ab_repeat_mode_enabled() ) | 42 | if ( ab_repeat_mode_enabled() ) |
46 | { | 43 | { |