From 761c6e2ee2ecc5761369ecd56333689f6f9ee998 Mon Sep 17 00:00:00 2001 From: thenetworkgrinch Date: Wed, 15 Nov 2023 12:28:24 -0600 Subject: [PATCH] Update fix to REV Throughbore --- swervelib/parser/json/DeviceJson.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swervelib/parser/json/DeviceJson.java b/swervelib/parser/json/DeviceJson.java index de9685d..2d5f46f 100644 --- a/swervelib/parser/json/DeviceJson.java +++ b/swervelib/parser/json/DeviceJson.java @@ -71,11 +71,11 @@ public class DeviceJson case "ma3": case "ctre_mag": case "rev_hex": + case "throughbore": case "am_mag": case "dutycycle": return new PWMDutyCycleEncoderSwerve(id); case "thrifty": - case "throughbore": case "analog": return new AnalogAbsoluteEncoderSwerve(id); case "cancoder":