progress towards logging more!

only:f407-discovery
This commit is contained in:
rusefillc 2023-12-06 20:15:34 -05:00
parent 45b626d9cb
commit 95faf59fd1
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ public class GaugeConsumer implements ConfigurationConsumer {
}
private String handle(ConfigField configField, String prefix, String variableNameSuffix) {
String comment = getHumanGaugeName("", configField, "");
String comment = getHumanGaugeName("", configField, variableNameSuffix);
comment = ConfigFieldImpl.unquote(comment);
if (!prefix.isEmpty()) {
comment = prefix + " " + comment;

View File

@ -95,6 +95,6 @@ public class LiveDataProcessorTest {
"\t\t\tsubMenu = output_channelsDialog, \"output_channels\"\n", LiveDataProcessor.FANCY_MENU_INI);
captor.assertOutput("\tgaugeCategory = \"cate\"\n" +
"tempC0Gauge = tempC0,\"WBO: Temperature\", \"C\", 500.0,1000.0, 500.0,1000.0, 500.0,1000.0, 0,0\n", LiveDataProcessor.GAUGES);
"tempC0Gauge = tempC0,\"WBO: Temperature0\", \"C\", 500.0,1000.0, 500.0,1000.0, 500.0,1000.0, 0,0\n", LiveDataProcessor.GAUGES);
}
}