mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-25 14:17:29 +00:00
ReceiverModel: Use accessor method.
This commit is contained in:
@@ -161,7 +161,7 @@ void ReceiverModel::disable() {
|
||||
}
|
||||
|
||||
int32_t ReceiverModel::tuning_offset() {
|
||||
if( (baseband_configuration.mode == 4) ) {
|
||||
if( (modulation() == 4) ) {
|
||||
return 0;
|
||||
} else {
|
||||
return -(sampling_rate() / 4);
|
||||
|
Reference in New Issue
Block a user