[hal,wpilib] Rename SerialPort constants to all caps

This commit is contained in:
Peter Johnson
2026-03-14 12:35:49 -07:00
parent 68ca74c129
commit 70f77a1f8e
5 changed files with 76 additions and 75 deletions

View File

@@ -15,10 +15,10 @@
*/
HAL_ENUM(HAL_SerialPort) {
HAL_SerialPort_Onboard = 0,
HAL_SerialPort_MXP = 1,
HAL_SerialPort_USB1 = 2,
HAL_SerialPort_USB2 = 3
HAL_SERIAL_PORT_ONBOARD = 0,
HAL_SERIAL_PORT_MXP = 1,
HAL_SERIAL_PORT_USB_1 = 2,
HAL_SERIAL_PORT_USB_2 = 3
};
#ifdef __cplusplus