SD-card log fields improvement (warning counter & last code) #3162

This commit is contained in:
rusefillc 2021-08-16 20:53:59 -04:00
parent a334f0d23f
commit b75b50b961
2 changed files with 3 additions and 1 deletions

View File

@ -1727,6 +1727,7 @@ end_struct
#define GAUGE_NAME_VERSION "firmware"
#define GAUGE_NAME_UPTIME "Uptime"
#define GAUGE_NAME_TRG_ERR "trg err"
#define GAUGE_NAME_VVT_B1I "VVT: bank 1 intake"

View File

@ -1009,7 +1009,7 @@ gaugeCategory = ECU Status
recentErrorCode6Gauge = recentErrorCode6, "Error#7", "", 0, 18000, 0, 0, 18000, 18000, 0, 0
recentErrorCode7Gauge = recentErrorCode7, "Error#8", "", 0, 18000, 0, 0, 18000, 18000, 0, 0
firmwareVersionGauge = firmwareVersion , "ECU Software Version", "%", 0, 100, 0, 0, 100, 100, 0, 0
timeSecondsGauge = seconds, "Uptime", "sec", 0, 100, 0, 0, 100, 100, 0, 0
timeSecondsGauge = seconds, @@GAUGE_NAME_UPTIME@@, "sec", 0, 100, 0, 0, 100, 100, 0, 0
tuneCrc16Gauge = tuneCrc16, "tune CRC16", "", 0, 64000, 0, 0, 64000, 64000, 0, 0
@ -1254,6 +1254,7 @@ gaugeCategory = DynoView
[Datalog]
; Channel Label Type Format
entry = time, @@GAUGE_NAME_TIME@@, float, "%.3f"
entry = seconds, @@GAUGE_NAME_UPTIME@@, float, "%.3f"
entry = RPMValue, @@GAUGE_NAME_RPM@@, int, "%d"
entry = firmwareVersion, @@GAUGE_NAME_VERSION@@, int, "%d"
entry = coolant, @@GAUGE_NAME_CLT@@, float, "%.2f"