Restore original functionality of getCurrentFreeHeap() memory profiling function, as the cause of its incorrect behaviour has been found

replace/de993449fa702fdc3238e93b6f2f63076754a4cd
Silvano Seva 2021-08-10 09:35:00 +02:00
rodzic 3d9cefdd03
commit a1ca509eec
1 zmienionych plików z 1 dodań i 7 usunięć

Wyświetl plik

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