diff --git a/firmware/console/binary/output_channels.txt b/firmware/console/binary/output_channels.txt index d8513110d6..12df4cf4f2 100644 --- a/firmware/console/binary/output_channels.txt +++ b/firmware/console/binary/output_channels.txt @@ -394,5 +394,7 @@ float mapFast uint8_t sadDwellRatioCounter uint8_t injectionPrimingCounter + float acPressure;@@GAUGE_NAME_AC_PRESSURE@@;"kPa", 1, 0, 0, 0, 0 + uint8_t[72 iterate] unusedAtTheEnd;;"",1, 0, 0, 0, 0 end_struct diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index dc96905791..9485519af1 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -518,6 +518,7 @@ static void updatePressures() { engine->outputChannels.baroPressure = Sensor::getOrZero(SensorType::BarometricPressure); engine->outputChannels.MAPValue = Sensor::getOrZero(SensorType::Map); engine->outputChannels.oilPressure = Sensor::getOrZero(SensorType::OilPressure); + engine->outputChannels.acPressure = Sensor::getOrZero(SensorType::AcPressure); engine->outputChannels.auxLinear1 = Sensor::getOrZero(SensorType::AuxLinear1); engine->outputChannels.auxLinear2 = Sensor::getOrZero(SensorType::AuxLinear2); diff --git a/firmware/integration/rusefi_config_shared.txt b/firmware/integration/rusefi_config_shared.txt index 6135544644..7d93051078 100644 --- a/firmware/integration/rusefi_config_shared.txt +++ b/firmware/integration/rusefi_config_shared.txt @@ -120,6 +120,8 @@ #define GAUGE_NAME_ECU_TEMPERATURE "ECU temperature" +#define GAUGE_NAME_AC_PRESSURE "A/C pressure" + #define GAUGE_NAME_AUX_LINEAR_1 "Aux linear #1" #define GAUGE_NAME_AUX_LINEAR_2 "Aux linear #2" diff --git a/firmware/tunerstudio/tunerstudio.template.ini b/firmware/tunerstudio/tunerstudio.template.ini index 1d05f96765..8ac64a079d 100644 --- a/firmware/tunerstudio/tunerstudio.template.ini +++ b/firmware/tunerstudio/tunerstudio.template.ini @@ -1519,6 +1519,7 @@ gaugeCategory = Sensors - Extra 1 flexPercentGauge = flexPercent, @@GAUGE_NAME_FLEX@@, "%", 0, 100, 0, 0, 100, 100, 0, 0 fuelTempGauge = fuelTemp, @@GAUGE_NAME_FUEL_TEMPERATURE@@, "C", 0, 100, 0, 0, 75, 100, 0, 0 fuelTankLevelGauge = fuelTankLevel,"Fuel level", "%", 0, 100, 10, 20, 100, 100, 1, 1 + acPressureGauge = acPressure, @@GAUGE_NAME_AC_PRESSURE@@, "kPa", 0, 1000, -1, -1, 1000, 1000, 0, 0 AuxL1Gauge = auxLinear1, @@GAUGE_NAME_AUX_LINEAR_1@@, "", -1000, 1000, -1000, -1000, 1000, 1000, 2, 2 AuxL2Gauge = auxLinear2, @@GAUGE_NAME_AUX_LINEAR_2@@, "", -1000, 1000, -1000, -1000, 1000, 1000, 2, 2