mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04: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…
Reference in New Issue
Block a user