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()
|
||||
{
|
||||
/*
|
||||
* 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();
|
||||
return miosix::MemoryProfiling::getCurrentFreeHeap();
|
||||
}
|
||||
|
||||
#else
|
||||
|
|
Ładowanie…
Reference in New Issue