Skip to content

Commit 4b04227

Browse files
committed
fix mutex stub for unit tests
1 parent dd91b90 commit 4b04227

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

UNITTESTS/stubs/Mutex_stub.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ rtos::Mutex::~Mutex()
2727
return;
2828
}
2929

30-
osStatus rtos::Mutex::lock(unsigned int)
30+
osStatus rtos::Mutex::lock(void)
31+
{
32+
return osOK;
33+
}
34+
35+
osStatus rtos::Mutex::lock(uint32_t millisec)
3136
{
3237
return osOK;
3338
}

0 commit comments

Comments
 (0)