Skip to content
Snippets Groups Projects
Commit b46dfa1a authored by euquiq's avatar euquiq
Browse files

Update audio.cpp

Missing bit from last PR, when a request for stopping audio, now we power down the corresponding audio output channel.
parent 5e32daa2
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,11 @@ void start() {
}
void stop() {
mute();
//mute(); //Now it depends on speaker mode
if (portapack::speaker_mode)
speaker_mute();
else
mute(); //Mute headphones
i2s::i2s0::tx_stop();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment