mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 17:17:40 +00:00
Mute audio whenever baseband mode is changed.
This commit is contained in:
@@ -279,6 +279,7 @@ int main(void) {
|
|||||||
if( message->configuration.mode != baseband_configuration.mode ) {
|
if( message->configuration.mode != baseband_configuration.mode ) {
|
||||||
|
|
||||||
if( baseband_processor ) {
|
if( baseband_processor ) {
|
||||||
|
i2s::i2s0::tx_mute();
|
||||||
baseband::dma::disable();
|
baseband::dma::disable();
|
||||||
rf::rssi::stop();
|
rf::rssi::stop();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user