mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 17:18:06 +00:00
ReceiverModel no longer uses some baseband modes.
This commit is contained in:
@@ -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);
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user