summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/abrepeat.c5
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
27unsigned int test = 1;
28unsigned int ab_A_marker IDATA_ATTR = AB_MARKER_NONE; 27unsigned int ab_A_marker IDATA_ATTR = AB_MARKER_NONE;
29unsigned int ab_B_marker IDATA_ATTR = AB_MARKER_NONE; 28unsigned int ab_B_marker IDATA_ATTR = AB_MARKER_NONE;
30bool foo = false; 29
31#if (CONFIG_CODEC == SWCODEC) 30#if (CONFIG_CODEC == SWCODEC)
32void ab_end_of_track_report(void) 31void 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
41static int ab_audio_event_handler(unsigned short event, unsigned long data) 39static 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 {