MISRA-related fix.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12583 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
Giovanni Di Sirio 2019-01-26 07:25:24 +00:00
parent e3c246361b
commit cf4cfd2a4f
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ static inline void chFifoObjectInitAligned(objects_fifo_t *ofp, size_t objsize,
size_t objn, unsigned objalign,
void *objbuf, msg_t *msgbuf) {
chDbgCheck((objsize >= objalign) && (objsize % objalign == 0U));
chDbgCheck((objsize >= objalign) && ((objsize % objalign) == 0U));
chGuardedPoolObjectInitAligned(&ofp->free, objsize, objalign);
chGuardedPoolLoadArray(&ofp->free, objbuf, objn);