mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-30 09:37:53 -04:00
ReceiverModel: Use accessor method.
This commit is contained in:
parent
44a1b7d9d7
commit
5a05a758a1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue