mirror of https://github.com/rusefi/rusefi-1.git
trying to fix build
This commit is contained in:
parent
4db874a607
commit
c00a24e9fd
Binary file not shown.
|
@ -145,7 +145,7 @@ public class TSProjectConsumer implements ConfigurationConsumer {
|
|||
@Override
|
||||
public void handleEndStruct(ReaderState readerState, ConfigStructure structure) throws IOException {
|
||||
state.variableRegistry.register(structure.name + "_size", structure.getTotalSize());
|
||||
tsOutput.run(readerState, structure, 0);
|
||||
totalTsSize = tsOutput.run(readerState, structure, 0);
|
||||
|
||||
if (state.stack.isEmpty()) {
|
||||
state.variableRegistry.register("TOTAL_CONFIG_SIZE", totalTsSize);
|
||||
|
|
|
@ -31,7 +31,7 @@ public class TsOutput {
|
|||
return settingContextHelp;
|
||||
}
|
||||
|
||||
public void run(ReaderState state, ConfigStructure structure, int sensorTsPosition) throws IOException {
|
||||
public int run(ReaderState state, ConfigStructure structure, int sensorTsPosition) throws IOException {
|
||||
FieldsStrategy strategy = new FieldsStrategy() {
|
||||
@Override
|
||||
public int writeOneField(FieldIterator it, String prefix, int tsPosition) throws IOException {
|
||||
|
@ -121,6 +121,7 @@ public class TsOutput {
|
|||
if (state.stack.isEmpty()) {
|
||||
tsHeader.append("; total TS size = " + sensorTsPosition + EOL);
|
||||
}
|
||||
return sensorTsPosition;
|
||||
}
|
||||
|
||||
private String handleTsInfo(String tsInfo, int multiplierIndex) {
|
||||
|
|
Loading…
Reference in New Issue