mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-28 07:47:35 +03:00
out of memory message
This commit is contained in:
parent
362aa68038
commit
8a3d8bdee7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user