diff options
Diffstat (limited to 'Private/Source/Timer.cxx')
| -rw-r--r-- | Private/Source/Timer.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Private/Source/Timer.cxx b/Private/Source/Timer.cxx index 73343fad..137a5545 100644 --- a/Private/Source/Timer.cxx +++ b/Private/Source/Timer.cxx @@ -18,12 +18,11 @@ Int32 HardwareTimerInterface::Wait() noexcept { return H_UNIMPLEMENTED; } HardwareTimer::HardwareTimer(Int64 seconds) : fWaitFor(seconds) {} HardwareTimer::~HardwareTimer() { fWaitFor = 0; } -Int32 HardwareTimer::Wait() noexcept -{ - if (fWaitFor < 1) - return -1; +Int32 HardwareTimer::Wait() noexcept { + if (fWaitFor < 1) return -1; - while (*fDigitalTimer < (*fDigitalTimer + fWaitFor)) {} + while (*fDigitalTimer < (*fDigitalTimer + fWaitFor)) { + } - return 0; -}
\ No newline at end of file + return 0; +} |
