diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/pcm_playback.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c index 58d68cadbd..894df6ba0d 100644 --- a/firmware/pcm_playback.c +++ b/firmware/pcm_playback.c | |||
@@ -270,8 +270,9 @@ void pcm_play_pause(bool play) | |||
270 | { | 270 | { |
271 | logf("unpause"); | 271 | logf("unpause"); |
272 | /* Reset chunk size so dma has enough data to fill the fifo. */ | 272 | /* Reset chunk size so dma has enough data to fill the fifo. */ |
273 | SAR0 = (unsigned long)next_start; | 273 | /* This shouldn't be needed anymore. */ |
274 | BCR0 = next_size; | 274 | //SAR0 = (unsigned long)next_start; |
275 | //BCR0 = next_size; | ||
275 | /* Enable the FIFO and force one write to it */ | 276 | /* Enable the FIFO and force one write to it */ |
276 | IIS2CONFIG = (pcm_freq << 12) | 0x300 | 4 << 2; | 277 | IIS2CONFIG = (pcm_freq << 12) | 0x300 | 4 << 2; |
277 | EBU1CONFIG = 7 << 12 | 3 << 8 | 5 << 2; | 278 | EBU1CONFIG = 7 << 12 | 3 << 8 | 5 << 2; |