Skip to content

Commit

Permalink
Re-add MicTX workaround (portapack-mayhem#1170)
Browse files Browse the repository at this point in the history
  • Loading branch information
kallanreed authored Jun 19, 2023
1 parent 7ebf3d3 commit f83027d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions firmware/application/apps/ui_mictx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,12 @@ MicTXView::MicTXView(
}
};

// These shouldn't be necessary, but because
// this app uses both transmitter_model and directly
// configures the baseband, these end up being required.
transmitter_model.set_sampling_rate(sampling_rate);
transmitter_model.set_baseband_bandwidth(1750000);

set_tx(false);

audio::set_rate(audio::Rate::Hz_24000);
Expand Down

0 comments on commit f83027d

Please sign in to comment.