User board-specific terms in error messages #3886
This commit is contained in:
parent
9d3ff33388
commit
0047805ce4
Binary file not shown.
|
@ -158,6 +158,8 @@ public class PinoutLogic {
|
|||
getTsNameByIdFile.append("\tswitch(brainPin) {\n");
|
||||
|
||||
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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue