mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 06:54:19 +00:00
out of memory message
This commit is contained in:
parent
362aa68038
commit
8a3d8bdee7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue