ReceiverModel: Use accessor method.

This commit is contained in:
Jared Boone 2016-07-27 14:40:30 -07:00
parent 44a1b7d9d7
commit 5a05a758a1

View File

@ -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);