From 4b042271d6744f505a3cfbfc4bed6a15629cef98 Mon Sep 17 00:00:00 2001 From: Lari-Matias Orjala Date: Wed, 5 Sep 2018 09:03:58 +0300 Subject: [PATCH] fix mutex stub for unit tests --- UNITTESTS/stubs/Mutex_stub.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/UNITTESTS/stubs/Mutex_stub.cpp b/UNITTESTS/stubs/Mutex_stub.cpp index c287d3bec03..cd226064f8e 100644 --- a/UNITTESTS/stubs/Mutex_stub.cpp +++ b/UNITTESTS/stubs/Mutex_stub.cpp @@ -27,7 +27,12 @@ rtos::Mutex::~Mutex() return; } -osStatus rtos::Mutex::lock(unsigned int) +osStatus rtos::Mutex::lock(void) +{ + return osOK; +} + +osStatus rtos::Mutex::lock(uint32_t millisec) { return osOK; }