summaryrefslogtreecommitdiff
path: root/apps/abrepeat.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/abrepeat.c')
-rw-r--r--apps/abrepeat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/abrepeat.c b/apps/abrepeat.c
index f6ca309..5fbd880 100644
--- a/apps/abrepeat.c
+++ b/apps/abrepeat.c
@@ -24,14 +24,12 @@
#ifdef AB_REPEAT_ENABLE
-unsigned int test = 1;
unsigned int ab_A_marker IDATA_ATTR = AB_MARKER_NONE;
unsigned int ab_B_marker IDATA_ATTR = AB_MARKER_NONE;
-bool foo = false;
+
#if (CONFIG_CODEC == SWCODEC)
void ab_end_of_track_report(void)
{
- test = 2;
if ( ab_A_marker_set() && ! ab_B_marker_set() )
{
ab_jump_to_A_marker();
@@ -40,7 +38,6 @@ void ab_end_of_track_report(void)
#else
static int ab_audio_event_handler(unsigned short event, unsigned long data)
{
- foo = true;
int rc = AUDIO_EVENT_RC_IGNORED;
if ( ab_repeat_mode_enabled() )
{