mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-03 21:39:01 +00:00
Fixes (#3032)
This commit is contained in:
@@ -101,6 +101,10 @@ void MicTXProcessor::on_message(const Message* const msg) {
|
||||
|
||||
switch (msg->id) {
|
||||
case Message::ID::AudioTXConfig:
|
||||
if (modulator) {
|
||||
delete modulator;
|
||||
modulator = NULL;
|
||||
}
|
||||
if (fm_enabled) {
|
||||
dsp::modulate::FM* fm = new dsp::modulate::FM();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user