[hal] Rename HAL_kInvalidHandle to HAL_INVALID_HANDLE (#8698)

This commit is contained in:
Peter Johnson
2026-03-21 00:34:46 -07:00
committed by GitHub
parent 4e4ad9c498
commit b7122f0fda
72 changed files with 160 additions and 160 deletions

View File

@@ -142,9 +142,9 @@ HAL_NotifierHandle HAL_CreateNotifier(int32_t* status) {
std::shared_ptr<Notifier> notifier = std::make_shared<Notifier>();
HAL_NotifierHandle handle =
notifierInstance->owner.GetThread()->m_handles.Allocate(notifier);
if (handle == HAL_kInvalidHandle) {
if (handle == HAL_INVALID_HANDLE) {
*status = HAL_HANDLE_ERROR;
return HAL_kInvalidHandle;
return HAL_INVALID_HANDLE;
}
wpi::util::CreateSignalObject(handle);
return handle;