aboutsummaryrefslogtreecommitdiffstats
path: root/src/cw-example/audio.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-12-06 23:38:02 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-12-06 23:38:02 +0100
commit8b44ef31f8c8520b9da03d7f7f5c91e86b6eb09f (patch)
treedbab60a2fea745280c382833e7d141a50386ce28 /src/cw-example/audio.c
parent8fc986d443a4ed9656d3c9479841de3e49d1abe4 (diff)
downloadglutte-o-matic-8b44ef31f8c8520b9da03d7f7f5c91e86b6eb09f.tar.gz
glutte-o-matic-8b44ef31f8c8520b9da03d7f7f5c91e86b6eb09f.tar.bz2
glutte-o-matic-8b44ef31f8c8520b9da03d7f7f5c91e86b6eb09f.zip
Fix interrupt prio, add tone test
Diffstat (limited to 'src/cw-example/audio.c')
-rw-r--r--src/cw-example/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cw-example/audio.c b/src/cw-example/audio.c
index 1f16edc..752ad12 100644
--- a/src/cw-example/audio.c
+++ b/src/cw-example/audio.c
@@ -176,7 +176,7 @@ void PlayAudioWithCallback(AudioCallbackFunction *callback, void *context) {
StopAudioDMA();
NVIC_EnableIRQ(DMA1_Stream7_IRQn);
- NVIC_SetPriority(DMA1_Stream7_IRQn, 4);
+ NVIC_SetPriority(DMA1_Stream7_IRQn, 5);
SPI3 ->CR2 |= SPI_CR2_TXDMAEN; // Enable I2S TX DMA request.