Fix for macOS build

This commit is contained in:
Ken Van Hoeylandt 2026-08-08 21:50:50 +02:00
parent e1fb827548
commit a96fd77986

View File

@ -174,7 +174,7 @@ public:
mutex.lock(); mutex.lock();
assert(mainFunction); assert(mainFunction);
assert(state == State::Stopped); assert(state == State::Stopped);
assert(stackSize > 0 && stackSize < (UINT16_MAX * sizeof(StackType_t))); assert(stackSize > 0);
mutex.unlock(); mutex.unlock();
setState(State::Starting); setState(State::Starting);