diff --git a/openrtx/src/memory_profiling.cpp b/openrtx/src/memory_profiling.cpp index 973a6711..0d1554cf 100644 --- a/openrtx/src/memory_profiling.cpp +++ b/openrtx/src/memory_profiling.cpp @@ -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