mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[build] Upgrade clang-format and clang-tidy (NFC) (#3422)
This commit is contained in:
@@ -76,10 +76,12 @@ static void alarmCallback() {
|
||||
|
||||
// process all notifiers
|
||||
notifierHandles->ForEach([&](HAL_NotifierHandle handle, Notifier* notifier) {
|
||||
if (notifier->triggerTime == UINT64_MAX)
|
||||
if (notifier->triggerTime == UINT64_MAX) {
|
||||
return;
|
||||
if (currentTime == 0)
|
||||
}
|
||||
if (currentTime == 0) {
|
||||
currentTime = HAL_GetFPGATime(&status);
|
||||
}
|
||||
std::unique_lock lock(notifier->mutex);
|
||||
if (notifier->triggerTime < currentTime) {
|
||||
notifier->triggerTime = UINT64_MAX;
|
||||
|
||||
Reference in New Issue
Block a user