Implement "A/C pressure" gauge #6570
This commit is contained in:
parent
6d6ed1aef0
commit
1133e7e709
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue