diff --git a/firmware/console/binary_log/binary_logging.cpp b/firmware/console/binary_log/binary_logging.cpp index a1b9de01dd..eae8b71a56 100644 --- a/firmware/console/binary_log/binary_logging.cpp +++ b/firmware/console/binary_log/binary_logging.cpp @@ -34,7 +34,7 @@ static constexpr LogField fields[] = { {tsOutputChannels.AFRValue, GAUGE_NAME_AFR, "afr", 2}, {tsOutputChannels.AFRValue2, GAUGE_NAME_AFR2, "afr", 2}, {tsOutputChannels.lambdaValue, GAUGE_NAME_LAMBDA, "", 3}, - {tsOutputChannels.lambda2, GAUGE_NAME_LAMBDA2, "", 3}, + {tsOutputChannels.lambdaValue2, GAUGE_NAME_LAMBDA2, "", 3}, {tsOutputChannels.warningCounter, GAUGE_NAME_WARNING_COUNTER, "", 0}, {tsOutputChannels.lastErrorCode, GAUGE_NAME_WARNING_LAST, "", 0}, {tsOutputChannels.tuneCrc16, GAUGE_NAME_TUNE_CRC16, "", 0}, diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index 2c70f5edc7..58472c1226 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -494,7 +494,7 @@ static void updateLambda() { tsOutputChannels.AFRValue = lambdaValue * engine->engineState.stoichiometricRatio; float lambda2Value = Sensor::getOrZero(SensorType::Lambda2); - tsOutputChannels.lambda2 = lambda2Value; + tsOutputChannels.lambdaValue2 = lambda2Value; tsOutputChannels.AFRValue2 = lambda2Value * engine->engineState.stoichiometricRatio; } @@ -767,7 +767,7 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels) { tsOutputChannels->warningCounter = engine->engineState.warnings.warningCounter; tsOutputChannels->lastErrorCode = engine->engineState.warnings.lastErrorCode; for (int i = 0; i < 8;i++) { - tsOutputChannels->recentErrorCodes[i] = engine->engineState.warnings.recentWarnings.get(i); + tsOutputChannels->recentErrorCode[i] = engine->engineState.warnings.recentWarnings.get(i); } switch (engineConfiguration->debugMode) {