Bug in os/rt/src/chsys.c

Discussions and support about ChibiOS/RT, the free embedded RTOS.
Post Reply
lungj
Posts: 8
Joined: Wed Feb 03, 2016 7:57 am
Been thanked: 1 time

Bug in os/rt/src/chsys.c

Post 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
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

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

Post by Giovanni »

Fixed thanks.

Giovanni
Post Reply