summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/as3525/audio-as3525.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/audio-as3525.c b/firmware/target/arm/as3525/audio-as3525.c
index 350bfb5ee6..8dd85929c0 100644
--- a/firmware/target/arm/as3525/audio-as3525.c
+++ b/firmware/target/arm/as3525/audio-as3525.c
@@ -29,6 +29,7 @@ int audio_channels = 2;
29 29
30void audio_set_output_source(int source) 30void audio_set_output_source(int source)
31{ 31{
32 CGU_PERI |= CGU_I2SOUT_APB_CLOCK_ENABLE;
32 if (source == AUDIO_SRC_PLAYBACK) 33 if (source == AUDIO_SRC_PLAYBACK)
33 I2SOUT_CONTROL &= ~(1<<5); 34 I2SOUT_CONTROL &= ~(1<<5);
34 else 35 else