Use TPMS sampling_rate variable instead of literal.

This commit is contained in:
Jared Boone 2016-02-10 16:48:09 -08:00
parent f5cdf8ed76
commit 692a262f41

View File

@ -249,7 +249,7 @@ TPMSAppView::TPMSAppView(NavigationView&) {
BasebandConfigurationMessage message { { BasebandConfigurationMessage message { {
.mode = 5, .mode = 5,
.sampling_rate = 2457600, .sampling_rate = sampling_rate,
.decimation_factor = 1, .decimation_factor = 1,
} }; } };
shared_memory.baseband_queue.push(message); shared_memory.baseband_queue.push(message);