logging of live data structs was: data points #3614

getting closer...
This commit is contained in:
rusefillc 2022-04-14 22:40:35 -04:00
parent 943409b979
commit 5086d93a23
1 changed files with 3 additions and 0 deletions

View File

@ -171,6 +171,8 @@ const void * getStructAddr(live_data_e structId) {
}
#endif
switch (structId) {
case LDS_output_channels:
return reinterpret_cast<const uint8_t*>(&engine->outputChannels);
case LDS_high_pressure_fuel_pump:
#if EFI_HPFP
@ -837,6 +839,7 @@ void startTunerStudioConnectivity(void) {
// char (*__kaboom)[sizeof(persistent_config_s)] = 1;
memset(&tsState, 0, sizeof(tsState));
initFragments();
addConsoleAction("tsinfo", printTsStats);
addConsoleAction("reset_ts", resetTs);