mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 01:55:59 +00:00
Changed mutex constructor to properly use the provided name
This commit is contained in:
parent
08fec8e3e9
commit
aacf39a32c
@ -11,7 +11,7 @@ namespace sta
|
||||
|
||||
RtosMutex::RtosMutex(const char* name)
|
||||
{
|
||||
osMutexAttr_t attribs = { .name = "uartMutex"};
|
||||
osMutexAttr_t attribs = { .name = name};
|
||||
handle_ = osMutexNew(&attribs);
|
||||
|
||||
STA_ASSERT(handle_ != NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user