|
if (spark.getFirmwareVersion() == 0) { |
|
spark.close(); |
|
System.err.println("SparkMax on port: " + id + " is not connected!"); |
|
return MotorErrors.createDummySparkMax(); |
|
} |
I've emailed Rev about the REVLib issue for which this is a workaround. This issue is for discussion of any relevant information, and as a reminder to watch the changelog as a supported solution may be released in the future.
lib199/src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Lines 124 to 128 in 432cd16