id array length should match class array length

This commit is contained in:
rusefillc 2022-02-16 12:17:25 -05:00
parent 6c0a009c78
commit 2f488bfe46
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -102,7 +102,7 @@ public class PinoutLogic {
for (Map<String, Object> pin : data) {
Object pinId = pin.get("id");
Object pinClass = pin.get("class");
String pinName = (String) pin.get("pin");
Object pinName = (String) pin.get("pin");
String pinTsName = (String) pin.get("ts_name");
if (pinId == null || pinClass == null || pinTsName == null) {
continue;