mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
[hal,wpilib] Rename CAN device and manufacturer types to all caps
This commit is contained in:
@@ -148,11 +148,11 @@ class CAN {
|
||||
bool ReadPacketTimeout(int apiId, int timeoutMs, HAL_CANReceiveMessage* data);
|
||||
|
||||
/// Team manufacturer.
|
||||
static constexpr HAL_CANManufacturer kTeamManufacturer = HAL_CAN_Man_kTeamUse;
|
||||
static constexpr HAL_CANManufacturer kTeamManufacturer = HAL_CAN_MAN_TEAM_USE;
|
||||
|
||||
/// Team device type.
|
||||
static constexpr HAL_CANDeviceType kTeamDeviceType =
|
||||
HAL_CAN_Dev_kMiscellaneous;
|
||||
HAL_CAN_DEV_MISCELLANEOUS;
|
||||
|
||||
private:
|
||||
wpi::hal::Handle<HAL_CANHandle, HAL_CleanCAN> m_handle;
|
||||
|
||||
Reference in New Issue
Block a user