diff --git a/unit_tests/global_mocks.cpp b/unit_tests/global_mocks.cpp index c8631e7052..7acab73feb 100644 --- a/unit_tests/global_mocks.cpp +++ b/unit_tests/global_mocks.cpp @@ -15,7 +15,7 @@ efitimeus_t getTimeNowUs() { return timeNowUs; } -efitimesec_t getTimeNowS() { +int64_t getTimeNowS() { return getTimeNowUs() / 1000 / 1000; }