projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add server tcp api.
[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 1b9eb58e2be857754d4d1244f7bde8170f541197..c43918ecb3ceb739d70db01fa83c006699610418 100644
(file)
--- a/
boards/sam3x-ek/examples/sam3x-ek_codec/main.c
+++ b/
boards/sam3x-ek/examples/sam3x-ek_codec/main.c
@@
-30,9
+30,10
@@
*
* -->
*
*
* -->
*
- * \brief Atmel SAM3X-EK
testcase
+ * \brief Atmel SAM3X-EK
wav player example.
*
* \author Stefano Fedrigo <aleph@develer.com>
*
* \author Stefano Fedrigo <aleph@develer.com>
+ * \author Daniele Basile <asterix@develer.com>
*/
#include "bitmaps.h"
*/
#include "bitmaps.h"
@@
-479,7
+480,7
@@
static void rec_menu(Bitmap *bm)
while (1)
{
keymask_t key = kbd_peek();
while (1)
{
keymask_t key = kbd_peek();
- if (
key & K_LEFT
)
+ if (
(key & K_LEFT) && (!is_recording)
)
{
break;
}
{
break;
}