parent
d78b09f651
commit
7c5e8c8fb8
|
@ -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.
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue