mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-15 09:56:00 -04:00
ReceiverModel no longer uses some baseband modes.
This commit is contained in:
parent
5cdbae495a
commit
472b0a2e79
2 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue