mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-08-06 11:07:34 +00:00
Changed mutex constructor to properly use the provided name
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user