Merge pull request #644 from ArjanOnwezen/set-fixed-modulation-for-pocsag

Set fixed modulation (NFM) for Pocsag app. (#569)
This commit is contained in:
ArjanOnwezen 2022-05-13 15:11:43 +02:00 committed by GitHub
commit 8e9355b57a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,6 +87,8 @@ POCSAGAppView::POCSAGAppView(NavigationView& nav) {
} }
else field_frequency.set_value(receiver_model.tuning_frequency()); else field_frequency.set_value(receiver_model.tuning_frequency());
receiver_model.set_modulation(ReceiverModel::Mode::NarrowbandFMAudio);
receiver_model.set_sampling_rate(3072000); receiver_model.set_sampling_rate(3072000);
receiver_model.set_baseband_bandwidth(1750000); receiver_model.set_baseband_bandwidth(1750000);
receiver_model.enable(); receiver_model.enable();