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:
gdisirio 2014-11-19 10:43:27 +00:00
parent 448e5e76d4
commit afa584c197
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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);
}

View File

@ -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