Skip to content

Commit 7a8e849

Browse files
authored
Merge pull request #7988 from lorjala/unittests_fix
Unittesting: Update mutex stub
2 parents 201ec14 + 4b04227 commit 7a8e849

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)