[hal,wpilib] Rename I2C constants to all caps

This commit is contained in:
Peter Johnson
2026-03-14 11:51:53 -07:00
parent b68fbb1adc
commit 261a0ebbd7
14 changed files with 38 additions and 32 deletions

View File

@@ -22,7 +22,12 @@ public class ADXL345Sim {
public ADXL345Sim(ADXL345_I2C device) {
SimDeviceSim simDevice =
new SimDeviceSim(
"Accel:ADXL345_I2C" + "[" + device.getPort() + "," + device.getDeviceAddress() + "]");
"Accel:ADXL345_I2C"
+ "["
+ device.getPort().value
+ ","
+ device.getDeviceAddress()
+ "]");
initSim(simDevice);
}