Renamed chCoreStatus() in chCoreGetStatusX().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7521 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
448e5e76d4
commit
afa584c197
|
@ -98,7 +98,7 @@ extern "C" {
|
|||
void _core_init(void);
|
||||
void *chCoreAlloc(size_t size);
|
||||
void *chCoreAllocI(size_t size);
|
||||
size_t chCoreStatus(void);
|
||||
size_t chCoreGetStatusX(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -142,9 +142,9 @@ void *chCoreAllocI(size_t size) {
|
|||
*
|
||||
* @return The size, in bytes, of the free core memory.
|
||||
*
|
||||
* @api
|
||||
* @xclass
|
||||
*/
|
||||
size_t chCoreStatus(void) {
|
||||
size_t chCoreGetStatusX(void) {
|
||||
|
||||
return (size_t)(endmem - nextmem);
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ static void heap1_execute(void) {
|
|||
size_t n, sz;
|
||||
|
||||
/* Unrelated, for coverage only.*/
|
||||
(void)chCoreStatus();
|
||||
(void)chCoreGetStatusX();
|
||||
|
||||
/*
|
||||
* Test on the default heap in order to cover the core allocator at
|
||||
|
|
Loading…
Reference in New Issue