mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilib] Rename CAN constants to all caps
This commit is contained in:
@@ -22,10 +22,10 @@ import org.wpilib.hardware.hal.can.CANReceiveMessage;
|
||||
*/
|
||||
public class CAN implements Closeable {
|
||||
/** Team manufacturer. */
|
||||
public static final int kTeamManufacturer = CANAPITypes.CANManufacturer.TEAM_USE.id;
|
||||
public static final int TEAM_MANUFACTURER = CANAPITypes.CANManufacturer.TEAM_USE.id;
|
||||
|
||||
/** Team device type. */
|
||||
public static final int kTeamDeviceType = CANAPITypes.CANDeviceType.MISCELLANEOUS.id;
|
||||
public static final int TEAM_DEVICE_TYPE = CANAPITypes.CANDeviceType.MISCELLANEOUS.id;
|
||||
|
||||
private final int m_handle;
|
||||
|
||||
@@ -37,7 +37,7 @@ public class CAN implements Closeable {
|
||||
* @param deviceId The device id
|
||||
*/
|
||||
public CAN(int busId, int deviceId) {
|
||||
this(busId, deviceId, kTeamManufacturer, kTeamDeviceType);
|
||||
this(busId, deviceId, TEAM_MANUFACTURER, TEAM_DEVICE_TYPE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user