mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[hal] Rename HAL_kInvalidHandle to HAL_INVALID_HANDLE (#8698)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user