diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-04-11 22:55:45 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-04-11 22:56:50 +0200 |
commit | 66f0e1af5b1f79ccb66909ce57f7d73ea7194a53 (patch) | |
tree | a355f4426dc01d1fb530501ff4e31d831f4b9202 /src | |
parent | 0ba699511c136e0215fd2f75e2800be920221497 (diff) | |
download | glutte-o-matic-66f0e1af5b1f79ccb66909ce57f7d73ea7194a53.tar.gz glutte-o-matic-66f0e1af5b1f79ccb66909ce57f7d73ea7194a53.tar.bz2 glutte-o-matic-66f0e1af5b1f79ccb66909ce57f7d73ea7194a53.zip |
Reorder audio output NVIC settings
Diffstat (limited to 'src')
-rw-r--r-- | src/glutt-o-logique/audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glutt-o-logique/audio.c b/src/glutt-o-logique/audio.c index c2c2694..91fcc65 100644 --- a/src/glutt-o-logique/audio.c +++ b/src/glutt-o-logique/audio.c @@ -136,8 +136,8 @@ void audio_set_volume(int volume) { void audio_play_with_callback(AudioCallbackFunction *callback, void *context) { audio_stop_dma(); - NVIC_EnableIRQ(DMA1_Stream7_IRQn); NVIC_SetPriority(DMA1_Stream7_IRQn, 5); + NVIC_EnableIRQ(DMA1_Stream7_IRQn); SPI3 ->CR2 |= SPI_CR2_TXDMAEN; // Enable I2S TX DMA request. |