mirror of https://github.com/FOME-Tech/fome-fw.git
fixing build more
This commit is contained in:
parent
6a2935489f
commit
a7d8090672
|
@ -193,6 +193,21 @@ static void printSensors(Logging *log, bool fileFormat) {
|
||||||
if (hasVBatt(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
if (hasVBatt(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
||||||
reportSensorF(log, fileFormat, GAUGE_NAME_VBAT, "V", getVBatt(PASS_ENGINE_PARAMETER_SIGNATURE), 2); // log column #6
|
reportSensorF(log, fileFormat, GAUGE_NAME_VBAT, "V", getVBatt(PASS_ENGINE_PARAMETER_SIGNATURE), 2); // log column #6
|
||||||
}
|
}
|
||||||
|
#if EFI_ANALOG_SENSORS || defined(__DOXYGEN__)
|
||||||
|
if (hasMapSensor(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
||||||
|
reportSensorF(log, fileFormat, "MAP", "kPa", getMap(), 2);
|
||||||
|
// reportSensorF(log, fileFormat, "map_r", "V", getRawMap(), 2);
|
||||||
|
}
|
||||||
|
#endif /* EFI_ANALOG_SENSORS */
|
||||||
|
#if EFI_ANALOG_SENSORS || defined(__DOXYGEN__)
|
||||||
|
if (hasBaroSensor()) {
|
||||||
|
reportSensorF(log, fileFormat, "baro", "kPa", getBaroPressure(), 2);
|
||||||
|
}
|
||||||
|
#endif /* EFI_ANALOG_SENSORS */
|
||||||
|
|
||||||
|
if (hasAfrSensor(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
||||||
|
reportSensorF(log, fileFormat, GAUGE_NAME_AFR, "AFR", getAfr(PASS_ENGINE_PARAMETER_SIGNATURE), 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!fileFormat) {
|
if (!fileFormat) {
|
||||||
|
@ -215,21 +230,6 @@ static void printSensors(Logging *log, bool fileFormat) {
|
||||||
reportSensorF(log, fileFormat, "maf", "V", getMaf(PASS_ENGINE_PARAMETER_SIGNATURE), 2);
|
reportSensorF(log, fileFormat, "maf", "V", getMaf(PASS_ENGINE_PARAMETER_SIGNATURE), 2);
|
||||||
reportSensorF(log, fileFormat, "mafr", "kg/hr", getRealMaf(PASS_ENGINE_PARAMETER_SIGNATURE), 2);
|
reportSensorF(log, fileFormat, "mafr", "kg/hr", getRealMaf(PASS_ENGINE_PARAMETER_SIGNATURE), 2);
|
||||||
}
|
}
|
||||||
#if EFI_ANALOG_SENSORS || defined(__DOXYGEN__)
|
|
||||||
if (hasMapSensor(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
|
||||||
reportSensorF(log, fileFormat, "MAP", "kPa", getMap(), 2);
|
|
||||||
// reportSensorF(log, fileFormat, "map_r", "V", getRawMap(), 2);
|
|
||||||
}
|
|
||||||
#endif /* EFI_ANALOG_SENSORS */
|
|
||||||
#if EFI_ANALOG_SENSORS || defined(__DOXYGEN__)
|
|
||||||
if (hasBaroSensor()) {
|
|
||||||
reportSensorF(log, fileFormat, "baro", "kPa", getBaroPressure(), 2);
|
|
||||||
}
|
|
||||||
#endif /* EFI_ANALOG_SENSORS */
|
|
||||||
|
|
||||||
if (hasAfrSensor(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
|
||||||
reportSensorF(log, fileFormat, GAUGE_NAME_AFR, "AFR", getAfr(PASS_ENGINE_PARAMETER_SIGNATURE), 2);
|
|
||||||
}
|
|
||||||
|
|
||||||
#if EFI_IDLE_CONTROL || defined(__DOXYGEN__)
|
#if EFI_IDLE_CONTROL || defined(__DOXYGEN__)
|
||||||
reportSensorF(log, fileFormat, GAUGE_NAME_IAC, "%", getIdlePosition(), 2);
|
reportSensorF(log, fileFormat, GAUGE_NAME_IAC, "%", getIdlePosition(), 2);
|
||||||
|
|
Loading…
Reference in New Issue