Skip to content

Commit

Permalink
Log team number in system stats
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Oct 23, 2023
1 parent a2fd84a commit c80d2ea
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public void toLog(LogTable table) {
table.put("FPGARevision", fpgaRevision);
table.put("SerialNumber", serialNumber);
table.put("Comments", comments);
table.put("TeamNumber", teamNumber);
table.put("FPGAButton", fpgaButton);
table.put("SystemActive", systemActive);
table.put("BrownedOut", brownedOut);
Expand Down Expand Up @@ -104,6 +105,7 @@ public void fromLog(LogTable table) {
fpgaRevision = (int) table.get("FPGARevision", fpgaRevision);
serialNumber = table.get("SerialNumber", serialNumber);
comments = table.get("Comments", comments);
teamNumber = (int) table.get("TeamNumber", teamNumber);
fpgaButton = table.get("FPGAButton", fpgaButton);
systemActive = table.get("SystemActive", systemActive);
brownedOut = table.get("BrownedOut", brownedOut);
Expand Down

0 comments on commit c80d2ea

Please sign in to comment.