Remove hard-coded rf_amp on.

Removed hard-coded turning rf_amp on when enabling transmitting.
It will be handled by TransmitterView.
This commit is contained in:
dqs105 2020-08-26 15:39:17 +08:00 committed by GitHub
parent 0852bf89f0
commit 7fae33eb49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ void SigGenView::update_tone() {
void SigGenView::start_tx() { void SigGenView::start_tx() {
transmitter_model.set_sampling_rate(1536000); transmitter_model.set_sampling_rate(1536000);
transmitter_model.set_rf_amp(true); // transmitter_model.set_rf_amp(true);
transmitter_model.set_baseband_bandwidth(1750000); transmitter_model.set_baseband_bandwidth(1750000);
transmitter_model.enable(); transmitter_model.enable();