logging of live data structs was: data points #3614

one step back
This commit is contained in:
rusefillc 2022-04-13 21:46:38 -04:00
parent d78b09f651
commit 7c5e8c8fb8
3 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#include "FragmentEntry.h"
#include "tunerstudio.h"
/*
static FragmentEntry fragments[] = {
FragmentEntry((const uint8_t *)getStructAddr(LDS_high_pressure_fuel_pump), sizeof(high_pressure_fuel_pump_s)),
FragmentEntry((const uint8_t *)getStructAddr(LDS_injector_model), sizeof(injector_model_s)),
@ -20,3 +21,4 @@ static FragmentEntry fragments[] = {
FragmentEntry((const uint8_t *)getStructAddr(LDS_idle_state), sizeof(idle_state_s)),
FragmentEntry((const uint8_t *)getStructAddr(LDS_ignition_state), sizeof(ignition_state_s)),
};
*/

Binary file not shown.

View File

@ -33,6 +33,7 @@ public class UsagesReader {
"#include \"pch.h\"\n" +
"#include \"FragmentEntry.h\"\n\n" +
"#include \"tunerstudio.h\"\n" +
"/*\n" +
"static FragmentEntry fragments[] = {\n");
@ -78,6 +79,8 @@ public class UsagesReader {
fragmentsContent.append("};\n");
fragmentsContent.append("*/\n");
try (FileWriter fw = new FileWriter("console/binary/generated/live_data_fragments.cpp")) {
fw.write(fragmentsContent.toString());
}