Configure radio in AIS, ERT, TPMS apps.

This commit is contained in:
Jared Boone 2016-01-25 11:22:39 -08:00
parent 15800eea33
commit 8b0e6e65c8
3 changed files with 18 additions and 0 deletions

View file

@ -218,9 +218,15 @@ TPMSAppView::TPMSAppView(NavigationView&) {
.decimation_factor = 1,
});
receiver_model.set_baseband_bandwidth(1750000);
receiver_model.set_rf_amp(false);
receiver_model.set_lna(32);
receiver_model.set_vga(32);
receiver_model.set_tuning_frequency(315000000);
receiver_model.enable();
}
TPMSAppView::~TPMSAppView() {
receiver_model.disable();
EventDispatcher::message_map().unregister_handler(Message::ID::TPMSPacket);
}