diff --git a/src/thread.cpp b/src/thread.cpp index 9f1f301..1af5246 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -20,7 +20,7 @@ namespace sta namespace tacos { TacosThread::TacosThread(const char* name, osPriority_t prio, uint32_t stack_size /* = 0 */, uint32_t cb_size /* = 0 */) - : RtosThread(RtosHandle(Handle::Deferred(&instance_))), + : RtosThread(name, prio, stack_size, cb_size), instance_{ NULL }, attribs_{ .name=name, .cb_size=cb_size, .stack_size=stack_size, .priority=prio }, running_{false},