From c0d7905e07fc1b62c18d90a8794d4f4fb2de2127 Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 18 Jun 2020 14:50:00 -0400 Subject: [PATCH] indicators are broken - reported by Jokeri --- firmware/console/binary/tunerstudio_outputs.h | 2 +- firmware/tunerstudio/rusefi.input | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/firmware/console/binary/tunerstudio_outputs.h b/firmware/console/binary/tunerstudio_outputs.h index 0a43041de7..8facc5ce2a 100644 --- a/firmware/console/binary/tunerstudio_outputs.h +++ b/firmware/console/binary/tunerstudio_outputs.h @@ -67,7 +67,7 @@ typedef struct { unsigned int isCltError : 1; // bit 19 unsigned int isMapError : 1; // bit 20 unsigned int isIatError : 1; // bit 21 - unsigned int isAcSwitchEngaged : 1; // bit 22 + unsigned int unusedAt22 : 1; // bit 22 unsigned int isTriggerError : 1; // bit 23 unsigned int hasCriticalError : 1; // bit 24 unsigned int isWarnNow : 1; // bit 25 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 1e390fa6ee..ff5868dcae 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -205,8 +205,10 @@ enable2ndByteCanID = false acSwitchIndicator =bits, U32, 0, [17:17], "true", "false"; ind_tps_error = bits, U32, 0, [18:18], "true", "false"; ind_clt_error = bits, U32, 0, [19:19], "true", "false"; - ind_map_error = bits, U32, 0, [20:21], "true", "false"; - ind_iat_error = bits, U32, 0, [21:22], "true", "false"; +; not implemented +; ind_map_error = bits, U32, 0, [20:20], "true", "false"; + + ind_iat_error = bits, U32, 0, [21:21], "true", "false"; ind_isTriggerError = bits, U32, 0, [23:23], "true", "false"; ind_hasFatalError=bits, U32, 0, [24:24], "true", "false"; ind_isWarnNow =bits, U32, 0, [25:25], "true", "false"; @@ -1093,7 +1095,10 @@ gaugeCategory = Sensors - Raw indicator = { ind_tps_error}, "tps", "tps error", white, black, red, black indicator = { ind_clt_error}, "clt", "clt error", white, black, red, black indicator = { ind_iat_error}, "iat", "iat error", white, black, red, black - indicator = { ind_map_error}, "map", "map error", white, black, red, black + +; not implemented +; indicator = { ind_map_error}, "map", "map error", white, black, red, black + indicator = { ind_pedal_error}, "pedal", "pedal error", white, black, red, black indicator = { knockEverIndicator }, "", "Knock recently", white, black, red, black