mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
out of memory message
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user