mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 18:15:59 +00:00
bugfix for thread starting
This commit is contained in:
parent
3feedc948f
commit
4f13387692
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user