User board-specific terms in error messages #3886
This commit is contained in:
parent
614fa598c8
commit
a8849e067b
Binary file not shown.
|
@ -158,6 +158,8 @@ public class PinoutLogic {
|
||||||
getTsNameByIdFile.append("\tswitch(brainPin) {\n");
|
getTsNameByIdFile.append("\tswitch(brainPin) {\n");
|
||||||
|
|
||||||
for (Map.Entry</*id*/String, /*tsName*/String> e : tsNameById.entrySet()) {
|
for (Map.Entry</*id*/String, /*tsName*/String> e : tsNameById.entrySet()) {
|
||||||
|
if (!e.getKey().startsWith("GPIO")) // we only support GPIO pins at the moment no support for ADC
|
||||||
|
continue;
|
||||||
getTsNameByIdFile.append("\t\tcase " + e.getKey() + ": return " + quote(e.getValue()) + ";\n");
|
getTsNameByIdFile.append("\t\tcase " + e.getKey() + ": return " + quote(e.getValue()) + ";\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue