kopia lustrzana https://github.com/OpenRTX/OpenRTX
Restore original functionality of getCurrentFreeHeap() memory profiling function, as the cause of its incorrect behaviour has been found
rodzic
3d9cefdd03
commit
a1ca509eec
|
@ -55,13 +55,7 @@ unsigned int getAbsoluteFreeHeap()
|
||||||
|
|
||||||
unsigned int getCurrentFreeHeap()
|
unsigned int getCurrentFreeHeap()
|
||||||
{
|
{
|
||||||
/*
|
return miosix::MemoryProfiling::getCurrentFreeHeap();
|
||||||
* BUG: calling getCurrentFreeHeap() leads to a program crash.
|
|
||||||
* Investigation about this issue has to be deferred until a working error
|
|
||||||
* handler is implemented.
|
|
||||||
*/
|
|
||||||
//return miosix::MemoryProfiling::getCurrentFreeHeap();
|
|
||||||
return getAbsoluteFreeHeap();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Ładowanie…
Reference in New Issue