From a39f1271ec5b7b2bd987c655705381d07a01baed Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sat, 4 Mar 2023 11:32:32 +0100 Subject: [PATCH] return FAILED for win --- src/fsfw/osal/host/Clock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fsfw/osal/host/Clock.cpp b/src/fsfw/osal/host/Clock.cpp index 18cc4639..5e917600 100644 --- a/src/fsfw/osal/host/Clock.cpp +++ b/src/fsfw/osal/host/Clock.cpp @@ -50,6 +50,7 @@ ReturnValue_t Clock::setClock(const timeval* time) { ReturnValue_t Clock::getClockMonotonic(timeval* time) { #if defined(PLATFORM_WIN) // TODO: Implement with std::chrono::steady_clock + return returnvalue::FAILED; #elif defined(PLATFORM_UNIX) timespec timeMonotonic; int status = clock_gettime(CLOCK_MONOTONIC_RAW, &timeMonotonic);