diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2019-01-06 15:45:01 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2019-01-06 15:45:01 +0000 |
commit | 2e2a38cd10e11d3e085c62149440dddb474ea7bf (patch) | |
tree | 6dced32c2c9c8f0fac8b51d386a377d5c5dbec76 /os/lib/src/chfactory.c | |
parent | 6421004d21f26d809d6b7dcd18d5b0d6ee02eb8c (diff) | |
download | ChibiOS-2e2a38cd10e11d3e085c62149440dddb474ea7bf.tar.gz ChibiOS-2e2a38cd10e11d3e085c62149440dddb474ea7bf.tar.bz2 ChibiOS-2e2a38cd10e11d3e085c62149440dddb474ea7bf.zip |
chFifoObjectInit() renamed to chFifoObjectInitAligned(). Added a new chFifoObjectInit() without the alignment parameter. Stricter alignment checks in memory pools.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12535 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/lib/src/chfactory.c')
-rw-r--r-- | os/lib/src/chfactory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/lib/src/chfactory.c b/os/lib/src/chfactory.c index a40984ac4..61d607e79 100644 --- a/os/lib/src/chfactory.c +++ b/os/lib/src/chfactory.c @@ -668,8 +668,8 @@ dyn_objects_fifo_t *chFactoryCreateObjectsFIFO(const char *name, (objn * objsize));
if (dofp != NULL) {
/* Initializing mailbox object data.*/
- chFifoObjectInit(&dofp->fifo, objsize, objn, objalign,
- (void *)&dofp->msgbuf[objn], dofp->msgbuf);
+ chFifoObjectInitAligned(&dofp->fifo, objsize, objn, objalign,
+ (void *)&dofp->msgbuf[objn], dofp->msgbuf);
}
F_UNLOCK();
|