diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/pcm_playback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c index da04795d80..3a68db4d0c 100644 --- a/firmware/pcm_playback.c +++ b/firmware/pcm_playback.c | |||
@@ -70,7 +70,7 @@ static void dma_start(const void *addr, long size) | |||
70 | /* Enable the FIFO and force one write to it */ | 70 | /* Enable the FIFO and force one write to it */ |
71 | IIS2CONFIG = (pcm_freq << 12) | 0x300 | 4 << 2; | 71 | IIS2CONFIG = (pcm_freq << 12) | 0x300 | 4 << 2; |
72 | /* Also send the audio to S/PDIF */ | 72 | /* Also send the audio to S/PDIF */ |
73 | EBU1CONFIG = 7 << 12 | 3 << 8 | 5 << 2; | 73 | EBU1CONFIG = (7 << 12) | (3 << 8) | (1 << 5) | (5 << 2); |
74 | DCR0 = DMA_INT | DMA_EEXT | DMA_CS | DMA_SINC | DMA_START; | 74 | DCR0 = DMA_INT | DMA_EEXT | DMA_CS | DMA_SINC | DMA_START; |
75 | } | 75 | } |
76 | 76 | ||
@@ -241,7 +241,7 @@ void pcm_play_pause(bool play) | |||
241 | //BCR0 = next_size; | 241 | //BCR0 = next_size; |
242 | /* Enable the FIFO and force one write to it */ | 242 | /* Enable the FIFO and force one write to it */ |
243 | IIS2CONFIG = (pcm_freq << 12) | 0x300 | 4 << 2; | 243 | IIS2CONFIG = (pcm_freq << 12) | 0x300 | 4 << 2; |
244 | EBU1CONFIG = 7 << 12 | 3 << 8 | 5 << 2; | 244 | EBU1CONFIG = (7 << 12) | (3 << 8) | (1 << 5) | (5 << 2); |
245 | DCR0 |= DMA_EEXT | DMA_START; | 245 | DCR0 |= DMA_EEXT | DMA_START; |
246 | 246 | ||
247 | uda1380_mute(false); | 247 | uda1380_mute(false); |