ReceiverModel no longer uses some baseband modes.

This commit is contained in:
Jared Boone 2016-02-10 16:32:25 -08:00
parent 5cdbae495a
commit 472b0a2e79
2 changed files with 1 additions and 5 deletions

View File

@ -229,8 +229,7 @@ void ReceiverModel::disable() {
}
int32_t ReceiverModel::tuning_offset() {
if( (baseband_configuration.mode == 4) ||
(baseband_configuration.mode == 6) ) {
if( (baseband_configuration.mode == 4) ) {
return 0;
} else {
return -(sampling_rate() / 4);

View File

@ -36,10 +36,7 @@ public:
AMAudio = 0,
NarrowbandFMAudio = 1,
WidebandFMAudio = 2,
AIS = 3,
SpectrumAnalysis = 4,
TPMS = 5,
ERT = 6,
};
rf::Frequency tuning_frequency() const;