[wpilibj] Rename SensorUtil constants to all caps

This commit is contained in:
Peter Johnson
2026-03-17 16:37:12 -07:00
parent 8a802fd670
commit 5ec92df137
2 changed files with 14 additions and 14 deletions

View File

@@ -162,7 +162,7 @@ public class DigitalOutput implements AutoCloseable, Sendable {
return;
}
// Disable the output by routing to a dead bit.
DIOJNI.setDigitalPWMOutputChannel(m_pwmGenerator, SensorUtil.kDigitalChannels);
DIOJNI.setDigitalPWMOutputChannel(m_pwmGenerator, SensorUtil.NUM_DIGITAL_CHANNELS);
DIOJNI.freeDigitalPWM(m_pwmGenerator);
m_pwmGenerator = invalidPwmGenerator;
}