logging of live data structs #3614

This commit is contained in:
rusefillc 2022-01-11 22:54:57 -05:00
parent f1a8cd66e8
commit dcc7080ce1
4 changed files with 5 additions and 9 deletions

View File

@ -803,10 +803,6 @@ void updateTunerStudioState() {
switch (engineConfiguration->debugMode) {
case DBG_STATUS:
tsOutputChannels->debugFloatField1 = timeSeconds;
tsOutputChannels->debugIntField1 = atoi(VCS_VERSION);
break;
case DBG_TPS_ACCEL:
tsOutputChannels->debugIntField1 = engine->tpsAccelEnrichment.cb.getSize();
break;

View File

@ -1,6 +1,6 @@
#include "global.h"
#include "engine_types.h"
// was generated automatically by rusEFI tool from engine_types.h // by enum2string.jar tool on Wed Jan 05 00:18:40 EST 2022
// was generated automatically by rusEFI tool from engine_types.h // by enum2string.jar tool on Tue Jan 11 22:51:44 EST 2022
// see also gen_config_and_enums.bat
@ -52,6 +52,8 @@ case DBG_16:
return "DBG_16";
case DBG_20:
return "DBG_20";
case DBG_24:
return "DBG_24";
case DBG_26:
return "DBG_26";
case DBG_29:
@ -120,8 +122,6 @@ case DBG_SOFT_SPARK_CUT:
return "DBG_SOFT_SPARK_CUT";
case DBG_SR5_PROTOCOL:
return "DBG_SR5_PROTOCOL";
case DBG_STATUS:
return "DBG_STATUS";
case DBG_TCU:
return "DBG_TCU";
case DBG_TLE8888:

View File

@ -284,7 +284,7 @@ typedef enum {
DBG_INSTANT_RPM = 22,
UNUSED23 = 23,
DBG_STATUS = 24,
DBG_24 = 24,
DBG_CJ125 = 25,
DBG_26 = 26,
DBG_MAP = 27,

View File

@ -28,7 +28,7 @@ public enum debug_mode_e {
DBG_ANALOG_INPUTS,
DBG_INSTANT_RPM,
UNUSED23,
DBG_STATUS,
DBG_24,
DBG_CJ125,
DBG_26,
DBG_MAP,