[hal] Prefix all error #defines with HAL_ (#8780)

This commit is contained in:
Peter Johnson
2026-04-19 16:12:18 -07:00
committed by GitHub
parent b7df267687
commit 14d14e4ebc
40 changed files with 197 additions and 192 deletions

View File

@@ -28,7 +28,7 @@ HAL_DutyCycleHandle HAL_InitializeDutyCycle(int32_t channel,
wpi::hal::init::CheckInit();
if (channel < 0 || channel >= kNumSmartIo) {
*status = MakeErrorIndexOutOfRange(RESOURCE_OUT_OF_RANGE,
*status = MakeErrorIndexOutOfRange(HAL_RESOURCE_OUT_OF_RANGE,
"Invalid Index for DutyCycle", 0,
kNumSmartIo, channel);
return HAL_INVALID_HANDLE;