diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-07-03 20:36:15 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-07-03 20:36:15 +0000 |
commit | 53be2752d3c2b6c90483a92f340f5bb6f7ef0eb8 (patch) | |
tree | a4e076409dfbe30b36d966d8c206c4180865e31e | |
parent | 7f2ddc49234d5ff3be37042c2cf822f55f32cfca (diff) | |
download | rockbox-53be2752d3c2b6c90483a92f340f5bb6f7ef0eb8.tar.gz rockbox-53be2752d3c2b6c90483a92f340f5bb6f7ef0eb8.zip |
test test test
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21623 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/abrepeat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/abrepeat.c b/apps/abrepeat.c index 5fbd880a17..f6ca3096cb 100644 --- a/apps/abrepeat.c +++ b/apps/abrepeat.c | |||
@@ -24,12 +24,14 @@ | |||
24 | 24 | ||
25 | #ifdef AB_REPEAT_ENABLE | 25 | #ifdef AB_REPEAT_ENABLE |
26 | 26 | ||
27 | unsigned int test = 1; | ||
27 | unsigned int ab_A_marker IDATA_ATTR = AB_MARKER_NONE; | 28 | unsigned int ab_A_marker IDATA_ATTR = AB_MARKER_NONE; |
28 | unsigned int ab_B_marker IDATA_ATTR = AB_MARKER_NONE; | 29 | unsigned int ab_B_marker IDATA_ATTR = AB_MARKER_NONE; |
29 | 30 | bool foo = false; | |
30 | #if (CONFIG_CODEC == SWCODEC) | 31 | #if (CONFIG_CODEC == SWCODEC) |
31 | void ab_end_of_track_report(void) | 32 | void ab_end_of_track_report(void) |
32 | { | 33 | { |
34 | test = 2; | ||
33 | if ( ab_A_marker_set() && ! ab_B_marker_set() ) | 35 | if ( ab_A_marker_set() && ! ab_B_marker_set() ) |
34 | { | 36 | { |
35 | ab_jump_to_A_marker(); | 37 | ab_jump_to_A_marker(); |
@@ -38,6 +40,7 @@ void ab_end_of_track_report(void) | |||
38 | #else | 40 | #else |
39 | static int ab_audio_event_handler(unsigned short event, unsigned long data) | 41 | static int ab_audio_event_handler(unsigned short event, unsigned long data) |
40 | { | 42 | { |
43 | foo = true; | ||
41 | int rc = AUDIO_EVENT_RC_IGNORED; | 44 | int rc = AUDIO_EVENT_RC_IGNORED; |
42 | if ( ab_repeat_mode_enabled() ) | 45 | if ( ab_repeat_mode_enabled() ) |
43 | { | 46 | { |