diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-07 07:18:08 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-07 07:18:08 +0000 |
commit | 4de725748239e122b27ff2b31aac32b835e8a2d6 (patch) | |
tree | 7a5f663a5dcc2c370b51a7d72f5efd5b81d5f6a7 /os/rt/src/chschd.c | |
parent | f6374e3911aebabe120f74369fd3dd6ecef489cd (diff) | |
download | ChibiOS-4de725748239e122b27ff2b31aac32b835e8a2d6.tar.gz ChibiOS-4de725748239e122b27ff2b31aac32b835e8a2d6.tar.bz2 ChibiOS-4de725748239e122b27ff2b31aac32b835e8a2d6.zip |
More MISRA.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7725 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/src/chschd.c')
-rw-r--r-- | os/rt/src/chschd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/rt/src/chschd.c b/os/rt/src/chschd.c index 3de92aec8..ba377ac4a 100644 --- a/os/rt/src/chschd.c +++ b/os/rt/src/chschd.c @@ -389,9 +389,9 @@ void chSchWakeupS(thread_t *ntp, msg_t msg) { thread_t *otp = chSchReadyI(currp);
setcurrp(ntp);
#if defined(CH_CFG_IDLE_LEAVE_HOOK)
- if (otp->p_prio == IDLEPRIO) {
- CH_CFG_IDLE_LEAVE_HOOK();
- }
+ if (otp->p_prio == IDLEPRIO) {
+ CH_CFG_IDLE_LEAVE_HOOK();
+ }
#endif
ntp->p_state = CH_STATE_CURRENT;
chSysSwitch(ntp, otp);
|