mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
Merge pull request #1735 from Links2004/master
fix umm_malloc null ptr.
This commit is contained in:
commit
eb9a6c8922
@ -971,6 +971,10 @@ void ICACHE_FLASH_ATTR *umm_info( void *ptr, int force ) {
|
||||
|
||||
unsigned short int blockNo = 0;
|
||||
|
||||
if (umm_heap == NULL) {
|
||||
umm_init();
|
||||
}
|
||||
|
||||
/* Protect the critical section... */
|
||||
UMM_CRITICAL_ENTRY();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user