Add error message for out of memory

This commit is contained in:
Willy-JL
2023-07-20 16:37:18 +01:00
parent 34c07b9d21
commit 23a78b9f77

View File

@@ -481,7 +481,7 @@ void* pvPortMalloc(size_t xWantedSize) {
configASSERT((((size_t)pvReturn) & (size_t)portBYTE_ALIGNMENT_MASK) == 0);
furi_check(pvReturn);
furi_check(pvReturn, "out of memory");
pvReturn = memset(pvReturn, 0, to_wipe);
return pvReturn;
}