auto-sync
This commit is contained in:
parent
ba0f415e04
commit
7ee3a098f1
|
@ -126,7 +126,7 @@ typedef struct {
|
|||
float speedToRpmRatio; // 232
|
||||
int warningCounter; // 236
|
||||
int lastErrorCode; // 240
|
||||
float inrernalMcuTemperature; // 244
|
||||
float internalMcuTemperature; // 244
|
||||
int unused3[7];
|
||||
} TunerStudioOutputChannels;
|
||||
|
||||
|
|
|
@ -201,6 +201,8 @@ static void printSensors(Logging *log, bool fileFormat) {
|
|||
reportSensorF(log, fileFormat, "knck_c", "count", engine->knockCount, 0);
|
||||
reportSensorF(log, fileFormat, "knck_v", "v", engine->knockVolts, 2);
|
||||
|
||||
reportSensorF(log, fileFormat, "int_temp", "C", getMCUInternalTemperature(), 2);
|
||||
|
||||
|
||||
// reportSensorF(log, fileFormat, "vref", "V", getVRef(engineConfiguration), 2);
|
||||
if (hasVBatt(PASS_ENGINE_PARAMETER_F)) {
|
||||
|
@ -675,7 +677,7 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
|
||||
tsOutputChannels->checkEngine = hasErrorCodes();
|
||||
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
||||
tsOutputChannels->inrernalMcuTemperature = getMCUInternalTemperature();
|
||||
tsOutputChannels->internalMcuTemperature = getMCUInternalTemperature();
|
||||
tsOutputChannels->idlePosition = getIdlePosition();
|
||||
tsOutputChannels->isTriggerError = isTriggerErrorNow();
|
||||
|
||||
|
|
|
@ -847,6 +847,7 @@ fileVersion = { 20160702 }
|
|||
speedToRpmRatio = scalar,F32, 232, "value", 1, 0
|
||||
warningCounter = scalar,U32, 236, "count", 1, 0
|
||||
lastErrorCode = scalar,U32, 240, "error", 1, 0
|
||||
internalMcuTemperature = scalar,F32, 244, "C", 1, 0
|
||||
|
||||
egoCorrection = { 100 }
|
||||
time = { timeNow }
|
||||
|
@ -1138,6 +1139,7 @@ fileVersion = { 20160702 }
|
|||
speedToRpmRatioGauge = speedToRpmRatio, "speed2rpm", "", 0, 100, 0, 0, 100, 100, 4, 4
|
||||
warningCounterGauge = warningCounter, "warn", "", 0, 100, 0, 0, 100, 100, 0, 0
|
||||
lastErrorCodeGauge = lastErrorCode, "error", "", 0, 100, 0, 0, 100, 100, 0, 0
|
||||
internalMcuTemperatureGauge = internalMcuTemperature, "internal temperature", "C", 0, 100, 0, 0, 100, 100, 0, 0
|
||||
|
||||
|
||||
[FrontPage]
|
||||
|
@ -1240,6 +1242,7 @@ fileVersion = { 20160702 }
|
|||
entry = debugIntField3, "debug i3",int,"%d"
|
||||
entry = warningCounter, "warn",int,"%d"
|
||||
entry = lastErrorCode, "error",int,"%d"
|
||||
entry = internalMcuTemperature, "int temp",float,""%.2f"
|
||||
|
||||
entry = tCharge, "tCharge",float,"%.3f"
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ public class SensorLogger {
|
|||
private static Writer logFile;
|
||||
|
||||
private static Sensor[] SENSORS = {Sensor.RPM,
|
||||
Sensor.INT_TEMP,
|
||||
Sensor.CLT, Sensor.TPS, Sensor.VBATT,
|
||||
Sensor.FUEL_BASE,
|
||||
Sensor.T_CHARGE,
|
||||
|
|
Loading…
Reference in New Issue