mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-08-06 11:07:34 +00:00
bugfix for thread starting
This commit is contained in:
@@ -25,7 +25,7 @@ namespace sta
|
||||
void RtosThread::start()
|
||||
{
|
||||
// Check if there is no instance that is currently running.
|
||||
STA_ASSERT(instance_ != NULL);
|
||||
STA_ASSERT(instance_ == NULL);
|
||||
|
||||
instance_ = osThreadNew(entry_point, this, &attribs_);
|
||||
STA_ASSERT(instance_ != NULL);
|
||||
|
Reference in New Issue
Block a user