From c71a31e3137268c9225f85b55db83fbf7d2990b6 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sun, 7 Feb 2021 05:46:17 -0800 Subject: [PATCH] add cfg for lps25 (#2307) * cfg field * ui --- firmware/integration/rusefi_config.txt | 3 ++- firmware/tunerstudio/rusefi.input | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index b49c820f3e..a85e4d4b1c 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -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 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index fe995c8909..e21a8ff3fe 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -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