mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-26 06:23:31 +00:00
ReceiverModel: Use accessor method.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user