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() { int32_t ReceiverModel::tuning_offset() {
if( (baseband_configuration.mode == 4) || if( (baseband_configuration.mode == 4) ) {
(baseband_configuration.mode == 6) ) {
return 0; return 0;
} else { } else {
return -(sampling_rate() / 4); return -(sampling_rate() / 4);

View file

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