mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-12 19:33:38 +00:00
ReceiverModel no longer uses some baseband modes.
This commit is contained in:
parent
5cdbae495a
commit
472b0a2e79
@ -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);
|
||||
|
@ -36,10 +36,7 @@ public:
|
||||
AMAudio = 0,
|
||||
NarrowbandFMAudio = 1,
|
||||
WidebandFMAudio = 2,
|
||||
AIS = 3,
|
||||
SpectrumAnalysis = 4,
|
||||
TPMS = 5,
|
||||
ERT = 6,
|
||||
};
|
||||
|
||||
rf::Frequency tuning_frequency() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user