mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[hal,wpilib] Rename I2C constants to all caps
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user