From 42845c958b32e0adabb9b585e3add352be7c7f6b Mon Sep 17 00:00:00 2001 From: GearBoxFox <98189655+GearBoxFox@users.noreply.github.com> Date: Sun, 21 Jan 2024 15:30:09 -0800 Subject: [PATCH] Fixed a missing field issue --- src/main/java/frc/robot/subsystems/drive/module/Module.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystems/drive/module/Module.java b/src/main/java/frc/robot/subsystems/drive/module/Module.java index d6cb2794..bc03ec63 100644 --- a/src/main/java/frc/robot/subsystems/drive/module/Module.java +++ b/src/main/java/frc/robot/subsystems/drive/module/Module.java @@ -43,7 +43,7 @@ public class Module { public Module(ModuleIO io) { this.m_io = io; this.m_moduleConstants = m_io.getModuleConstants(); - this.m_index = m_moduleConstants.kModuleIndex(); + this.m_index = m_moduleConstants.MODULE_INDEX(); // delay to initialize all hardware Timer.delay(0.5);