mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
ae6bdc9d25
commit
2109161534
@@ -34,7 +34,7 @@ class Watchdog::Impl {
|
||||
wpi::util::mutex m_mutex;
|
||||
std::atomic<HAL_NotifierHandle> m_notifier;
|
||||
wpi::util::priority_queue<Watchdog*, std::vector<Watchdog*>,
|
||||
DerefGreater<Watchdog*>>
|
||||
DerefGreater<Watchdog*>>
|
||||
m_watchdogs;
|
||||
|
||||
void UpdateAlarm();
|
||||
@@ -115,7 +115,7 @@ void Watchdog::Impl::Main() {
|
||||
watchdog->m_lastTimeoutPrintTime = now;
|
||||
if (!watchdog->m_suppressTimeoutMessage) {
|
||||
WPILIB_ReportWarning("Watchdog not fed within {:.6f}s",
|
||||
watchdog->m_timeout.value());
|
||||
watchdog->m_timeout.value());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user