[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

@@ -71,7 +71,7 @@ void TimedRobot::StartCompetition() {
void TimedRobot::EndCompetition() {
HAL_DestroyNotifier(m_notifier);
m_notifier = HAL_kInvalidHandle;
m_notifier = HAL_INVALID_HANDLE;
}
TimedRobot::TimedRobot(wpi::units::second_t period)
@@ -91,7 +91,7 @@ TimedRobot::TimedRobot(wpi::units::hertz_t frequency)
: TimedRobot{1 / frequency} {}
TimedRobot::~TimedRobot() {
if (m_notifier != HAL_kInvalidHandle) {
if (m_notifier != HAL_INVALID_HANDLE) {
HAL_DestroyNotifier(m_notifier);
}
}