From 5086d93a23ae8ffbc942a81514bdb66da743cf7e Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 14 Apr 2022 22:40:35 -0400 Subject: [PATCH] logging of live data structs was: data points #3614 getting closer... --- firmware/console/binary/tunerstudio.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index 324d56f3d4..5989a7288e 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -171,6 +171,8 @@ const void * getStructAddr(live_data_e structId) { } #endif switch (structId) { + case LDS_output_channels: + return reinterpret_cast(&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);