mirror of
https://github.com/apache/nuttx.git
synced 2026-08-28 21:00:44 +00:00
The audio tone generator stopped working with the 'echo' command since https://github.com/apache/nuttx-apps/pull/1559 Before that PR: nsh> echo "t120o1l16b9n0baan0bn0bn0baaan0b9n0baan0b" > /dev/tone0 tone_write: Received 41 bytes nsh> After that PR: nsh> echo "t120o1l16b9n0baan0bn0bn0baaan0b9n0baan0b" > /dev/tone0 tone_write: Received 40 bytes tone_write: Received 1 bytes nsh> Unfortunately the Audio Tone was not block new write attempts even when it was already playing a melody. This commit fix it and avoids the issue caused by that PR. Signed-off-by: Alan C. Assis <acassis@gmail.com> |
||
|---|---|---|
| .. | ||
| audio_dma.c | ||
| audio_fake.c | ||
| audio_i2s.c | ||
| audio_null.c | ||
| CMakeLists.txt | ||
| cs43l22.c | ||
| cs43l22.h | ||
| cs43l22_debug.c | ||
| cs4344.c | ||
| cs4344.h | ||
| es7210.c | ||
| es7210.h | ||
| es8311.c | ||
| es8311.h | ||
| es8311_debug.c | ||
| es8388.c | ||
| es8388.h | ||
| es8388_debug.c | ||
| esxxxx_common.h | ||
| Kconfig | ||
| Make.defs | ||
| tone.c | ||
| vs1053.c | ||
| vs1053.h | ||
| wm8776.c | ||
| wm8776.h | ||
| wm8904.c | ||
| wm8904.h | ||
| wm8904_debug.c | ||
| wm8994.c | ||
| wm8994.h | ||
| wm8994_debug.c | ||