diff options
-rw-r--r-- | os/common/oslib/include/chmemcore.h | 2 | ||||
-rw-r--r-- | readme.txt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/os/common/oslib/include/chmemcore.h b/os/common/oslib/include/chmemcore.h index aaaf22a9f..ae5da6753 100644 --- a/os/common/oslib/include/chmemcore.h +++ b/os/common/oslib/include/chmemcore.h @@ -192,7 +192,7 @@ static inline void *chCoreAllocI(size_t size) { */
static inline void *chCoreAlloc(size_t size) {
- return chCoreAllocAlignedWithOffsetI(size, PORT_NATURAL_ALIGN, 0U);
+ return chCoreAllocAlignedWithOffset(size, PORT_NATURAL_ALIGN, 0U);
}
#endif /* CH_CFG_USE_MEMCORE == TRUE */
diff --git a/readme.txt b/readme.txt index d1a8d6830..c46aabcf5 100644 --- a/readme.txt +++ b/readme.txt @@ -134,6 +134,8 @@ dependencies and configuration directories. This makes possible
to have multiple non-conflicting makefiles in the same project.
Updated the various platform.mk implementing "smart build" mode.
+- LIB: Fixed call protocol violation in chCoreAlloc() (bug #896)(backported
+ to 17.6.3).
- RT: Fixed trace Buffer activation bits state reversed in chconf.h
(bug #895)(backported to 17.6.3).
- BLD: Fixed USE_OPT not passed to assembler in rules.mk (bug #892)(backported
|