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