progress
This commit is contained in:
parent
cd516b43a4
commit
ce091f2778
|
@ -1659,7 +1659,6 @@ end_struct
|
|||
#define TS_SD_PROTOCOL_REMOVE_FILE 6
|
||||
#define TS_SD_PROTOCOL_FETCH_COMPRESSED 8
|
||||
|
||||
|
||||
// High speed logger commands
|
||||
#define TS_SET_LOGGER_SWITCH 'l'
|
||||
#define TS_GET_LOGGER_GET_BUFFER 'L'
|
||||
|
|
Binary file not shown.
|
@ -89,7 +89,7 @@ public class VariableRegistry {
|
|||
if (value.trim().startsWith(HEX_PREFIX)) {
|
||||
int intValue = Integer.parseInt(value.trim().substring(HEX_PREFIX.length()), 16);
|
||||
intValues.put(var, intValue);
|
||||
javaDefinitions.put(var, "\tpublic static final int " + var + " = " + intValue + ";" + EOL);
|
||||
javaDefinitions.put(var, "\tpublic static final int " + var + " = " + value + ";" + EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ public class ConfigFieldParserTest {
|
|||
state.readBufferedReader(reader, Arrays.asList(javaFieldsConsumer));
|
||||
|
||||
assertEquals("\tpublic static final int ERROR_BUFFER_SIZE = 120;\n" +
|
||||
"\tpublic static final int ERROR_BUFFER_SIZE_H = 288;\n" +
|
||||
"\tpublic static final int ERROR_BUFFER_SIZE_H = 0x120;\n" +
|
||||
"",
|
||||
VariableRegistry.INSTANCE.getJavaConstants());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue