mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-13 08:43:46 +00:00
ReceiverModel: Use accessor method.
This commit is contained in:
parent
44a1b7d9d7
commit
5a05a758a1
@ -161,7 +161,7 @@ void ReceiverModel::disable() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int32_t ReceiverModel::tuning_offset() {
|
int32_t ReceiverModel::tuning_offset() {
|
||||||
if( (baseband_configuration.mode == 4) ) {
|
if( (modulation() == 4) ) {
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
return -(sampling_rate() / 4);
|
return -(sampling_rate() / 4);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user