Only show the error details in the log if there actually is an error

This commit is contained in:
Josh Stewart 2019-09-02 11:18:37 +10:00
parent 3ee54c8d8f
commit eb37ad70ac
1 changed files with 2 additions and 2 deletions

View File

@ -3414,8 +3414,8 @@ cmdtestspk450dc = "E\x03\x0C"
entry = batteryVoltage, "Battery V", float, "%.1f"
entry = rpmDOT, "rpm/s", int, "%d"
entry = flex, "Eth %", int, "%d", { flexEnabled }
entry = errorNum, "Error #", int, "%d"
entry = currentError, "Error ID", int, "%d"
entry = errorNum, "Error #", int, "%d", { errorNum }
entry = currentError, "Error ID", int, "%d", { errorNum }
entry = map_psi, "Boost PSI", float, "%.1f"
entry = boostTarget, "Boost Target", int, "%d", { boostEnabled }
entry = boostDuty, "Boost Duty", int, "%d", { boostEnabled }