add cfg for lps25 (#2307)

* cfg field

* ui
This commit is contained in:
Matthew Kennedy 2021-02-07 05:46:17 -08:00 committed by GitHub
parent 391ac5df9c
commit c71a31e313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1025,7 +1025,8 @@ custom maf_sensor_type_e 4 bits, S32, @OFFSET@, [0:1], @@maf_sensor_type_e_enum@
int[63] unusedAtOldBoardConfigurationEnd;;"units", 1, 0, -20, 100, 0
uint16_t vehicleWeight;;"kg", 1, 0, 0, 10000, 0
uint16_t unusedHereHereHere;;"ADC", 1, 0, 0, 1000, 0
brain_pin_e lps25BaroSensorScl
brain_pin_e lps25BaroSensorSda
uint16_t tps2SecondaryMin;;"ADC", 1, 0, 0, 1000, 0
uint16_t tps2SecondaryMax;;"ADC", 1, 0, 0, 1000, 0

View File

@ -2446,6 +2446,8 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
field = baroSensor_lowValue, baroSensor_lowValue, {baroSensor_hwChannel != @@ADC_CHANNEL_NONE@@}
field = baroSensor_highValue, baroSensor_highValue, {baroSensor_hwChannel != @@ADC_CHANNEL_NONE@@}
field = baroSensor_type, baroSensor_type, {baroSensor_hwChannel != @@ADC_CHANNEL_NONE@@}
field = "LPS25 Baro SCL", lps25BaroSensorScl
field = "LPS25 Baro SDA", lps25BaroSensorSda
dialog = mapCurves, "MAP sampling", yAxis
field = "isMapAveragingEnabled", isMapAveragingEnabled