projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't explore the file list until the wav is in playing.
[bertos.git]
/
boards
/
sam3x-ek
/
examples
/
sam3x-ek_codec
/
main.c
diff --git
a/boards/sam3x-ek/examples/sam3x-ek_codec/main.c
b/boards/sam3x-ek/examples/sam3x-ek_codec/main.c
index 34c9254217a873c41e6ffbfc1e1ec814d315a9fe..1b9eb58e2be857754d4d1244f7bde8170f541197 100644
(file)
--- a/
boards/sam3x-ek/examples/sam3x-ek_codec/main.c
+++ b/
boards/sam3x-ek/examples/sam3x-ek_codec/main.c
@@
-441,7
+441,7
@@
static void play_menu(Bitmap *bm)
while (1)
{
keymask_t key = kbd_peek();
- if (
key & K_LEFT
)
+ if (
(key & K_LEFT) && !is_playing
)
{
idx++;
if (idx > file_list_size)