summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKAKit/src/Timer.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-10-31 09:04:03 +0100
committerGitHub <noreply@github.com>2024-10-31 09:04:03 +0100
commit83faed9caccdd47d3b443c2f563a9a0b3b0ca1e4 (patch)
tree5e1bbc311e82682f9862b3e7a6de9a7daf49756d /dev/ZKAKit/src/Timer.cc
parent3d22ccdda8e782177a4fca684c07e8e6267d01c5 (diff)
IMP: Implement flags on the MicroKernel's Heap manager.
IMP: Don't return negative error codes.
Diffstat (limited to 'dev/ZKAKit/src/Timer.cc')
-rw-r--r--dev/ZKAKit/src/Timer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/ZKAKit/src/Timer.cc b/dev/ZKAKit/src/Timer.cc
index a85e64d1..12c688da 100644
--- a/dev/ZKAKit/src/Timer.cc
+++ b/dev/ZKAKit/src/Timer.cc
@@ -36,7 +36,7 @@ SoftwareTimer::~SoftwareTimer()
Int32 SoftwareTimer::Wait() noexcept
{
if (fWaitFor < 1)
- return -1;
+ return 1;
while (*fDigitalTimer < (*fDigitalTimer + fWaitFor))
{