mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-12 16:57:38 +00:00
Options to select 314.9 or 315MHz TPMS freq (#2252)
This commit is contained in:
@@ -107,7 +107,7 @@ class TPMSAppView : public View {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
RxRadioState radio_state_{
|
RxRadioState radio_state_{
|
||||||
314950000 /* frequency*/
|
314900000 /* frequency*/
|
||||||
,
|
,
|
||||||
1750000 /* bandwidth */,
|
1750000 /* bandwidth */,
|
||||||
2457600 /* sampling rate */
|
2457600 /* sampling rate */
|
||||||
@@ -147,20 +147,21 @@ class TPMSAppView : public View {
|
|||||||
// "315 MHz" TPMS sensors transmit at either 314.9 or 315 MHz but we should pick up either
|
// "315 MHz" TPMS sensors transmit at either 314.9 or 315 MHz but we should pick up either
|
||||||
OptionsField options_band{
|
OptionsField options_band{
|
||||||
{0 * 8, 0 * 16},
|
{0 * 8, 0 * 16},
|
||||||
3,
|
5,
|
||||||
{
|
{
|
||||||
{"315", 314950000},
|
{"314.9", 314900000},
|
||||||
{"434", 433920000},
|
{"315.0", 315000000},
|
||||||
|
{"433.9", 433920000},
|
||||||
}};
|
}};
|
||||||
|
|
||||||
OptionsField options_pressure{
|
OptionsField options_pressure{
|
||||||
{5 * 8, 0 * 16},
|
{6 * 8, 0 * 16},
|
||||||
3,
|
3,
|
||||||
{{"kPa", 0},
|
{{"kPa", 0},
|
||||||
{"PSI", 1}}};
|
{"PSI", 1}}};
|
||||||
|
|
||||||
OptionsField options_temperature{
|
OptionsField options_temperature{
|
||||||
{9 * 8, 0 * 16},
|
{10 * 8, 0 * 16},
|
||||||
2,
|
2,
|
||||||
{{STR_DEGREES_C, 0},
|
{{STR_DEGREES_C, 0},
|
||||||
{STR_DEGREES_F, 1}}};
|
{STR_DEGREES_F, 1}}};
|
||||||
|
Reference in New Issue
Block a user