Skip to content

Commit

Permalink
modify naming and build
Browse files Browse the repository at this point in the history
  • Loading branch information
Yxhej committed Oct 9, 2024
1 parent 3bb10cf commit 8ebb5e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/sciborgs1155/lib/FaultLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public static void register(CANSparkBase spark) {
if (spark.getFault(fault)) {
report(
String.format(
"Name - %s ID- %s",
"%s ID %s",
Ports.idToName.get(spark.getDeviceId()), String.valueOf(spark.getDeviceId())),
fault.name(),
FaultType.ERROR);
Expand Down Expand Up @@ -290,7 +290,7 @@ public static boolean check(CANSparkBase spark, REVLibError error) {
if (error != REVLibError.kOk) {
report(
String.format(
"Name - %s ID- %s",
"%s ID %s",
Ports.idToName.get(spark.getDeviceId()), String.valueOf(spark.getDeviceId())),
error.name(),
FaultType.ERROR);
Expand Down

0 comments on commit 8ebb5e9

Please sign in to comment.