diff --git a/os/rt/src/chsys.c b/os/rt/src/chsys.c index 628007732..21a87a8a7 100644 --- a/os/rt/src/chsys.c +++ b/os/rt/src/chsys.c @@ -128,7 +128,7 @@ void chSysInit(void) { currp = _thread_init(&ch.mainthread, "main", NORMALPRIO); #else /* Now this instructions flow becomes the idle thread.*/ - currp = _thread_init(&ch.mainthread, "idle", IDLEPRIO)); + currp = _thread_init(&ch.mainthread, "idle", IDLEPRIO); #endif /* Setting up the base address of the static main thread stack.*/