better field name
This commit is contained in:
parent
0200c4ebe5
commit
24d5d7c862
|
@ -748,7 +748,7 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
tsOutputChannels->debugFloatField1 = getVoltage("fsio", engineConfiguration->fsioAdc[0]);
|
||||
}
|
||||
} else if (engineConfiguration->debugMode == DBG_VEHICLE_SPEED_SENSOR) {
|
||||
tsOutputChannels->debugIntField1 = engine->engineState.vssCounter;
|
||||
tsOutputChannels->debugIntField1 = engine->engineState.vssDebugEventCounter;
|
||||
} else if (engineConfiguration->debugMode == DBG_SD_CARD) {
|
||||
tsOutputChannels->debugIntField1 = engine->engineState.totalLoggedBytes;
|
||||
} else if (engineConfiguration->debugMode == DBG_CRANKING_DETAILS) {
|
||||
|
|
|
@ -146,7 +146,7 @@ EngineState::EngineState() {
|
|||
lastErrorCode = 0;
|
||||
crankingTime = 0;
|
||||
timeSinceCranking = 0;
|
||||
vssCounter = 0;
|
||||
vssDebugEventCounter = 0;
|
||||
targetAFR = 0;
|
||||
tpsAccelEnrich = 0;
|
||||
tChargeK = 0;
|
||||
|
|
|
@ -158,7 +158,7 @@ public:
|
|||
float currentVE;
|
||||
float targetAFR;
|
||||
|
||||
int vssCounter;
|
||||
int vssDebugEventCounter;
|
||||
int totalLoggedBytes;
|
||||
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ float getVehicleSpeed(void) {
|
|||
}
|
||||
|
||||
static void vsAnaWidthCallback(void) {
|
||||
engine->engineState.vssCounter++;
|
||||
engine->engineState.vssDebugEventCounter++;
|
||||
efitick_t nowNt = getTimeNowNt();
|
||||
vssDiff = nowNt - lastSignalTimeNt;
|
||||
lastSignalTimeNt = nowNt;
|
||||
|
@ -56,7 +56,7 @@ static void speedInfo(void) {
|
|||
|
||||
scheduleMsg(logger, "c=%f eventCounter=%d speed=%f",
|
||||
engineConfiguration->vehicleSpeedCoef,
|
||||
engine->engineState.vssCounter,
|
||||
engine->engineState.vssDebugEventCounter,
|
||||
getVehicleSpeed());
|
||||
scheduleMsg(logger, "vss diff %d", vssDiff);
|
||||
|
||||
|
|
Loading…
Reference in New Issue