Page 1 of 1

Bug in os/rt/src/chsys.c

Posted: Sun Mar 20, 2016 10:39 pm
by lungj
There is an extra closing parenthesis on line 131 in r9142. The code does not compile with option CH_CFG_NO_IDLE_THREAD otherwise.

Code: Select all

currp = _thread_init(&ch.mainthread, "idle", IDLEPRIO));

should read

Code: Select all

  currp = _thread_init(&ch.mainthread, "idle", IDLEPRIO);


Cheers,
jonathan lung

Re: Bug in os/rt/src/chsys.c

Posted: Tue Mar 22, 2016 2:44 pm
by Giovanni
Fixed thanks.

Giovanni