SD card log fields list should be auto-generated #3985
This commit is contained in:
parent
b63f7da7ff
commit
5c61e6ba15
|
@ -4,5 +4,6 @@ java -DSystemOut.name=logs/gen_output_channels \
|
|||
-jar ../java_tools/ConfigDefinition.jar \
|
||||
-prepend integration/rusefi_config.txt \
|
||||
-definition console/binary/output_channels.txt \
|
||||
-sd_destination console/binary_log/sd_fields.h \
|
||||
-output_lookup_file controllers/lua/generated/output_lookup_generated.cpp \
|
||||
-ts_outputs_section console/binary/
|
||||
|
|
Binary file not shown.
|
@ -23,7 +23,9 @@ public class SdCardFieldsConsumer implements ConfigurationConsumer {
|
|||
|
||||
@Override
|
||||
public void endFile() throws IOException {
|
||||
output.write("static constexpr LogField fields[] = {\r\n");
|
||||
output.write(getBody());
|
||||
output.write("};\r\n");
|
||||
output.close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue