mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-10 14:42:08 +03:00
Enable heap poisoning only when debug options are enabled (#1800)
This commit is contained in:
parent
19e97bfe15
commit
3d3c928e2e
@ -131,7 +131,9 @@ extern char _heap_start;
|
|||||||
* callback is called: `UMM_HEAP_CORRUPTION_CB()`
|
* callback is called: `UMM_HEAP_CORRUPTION_CB()`
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(DEBUG_ESP_PORT) || defined(DEBUG_ESP_CORE)
|
||||||
#define UMM_POISON
|
#define UMM_POISON
|
||||||
|
#endif
|
||||||
|
|
||||||
#define UMM_POISON_SIZE_BEFORE 4
|
#define UMM_POISON_SIZE_BEFORE 4
|
||||||
#define UMM_POISON_SIZE_AFTER 4
|
#define UMM_POISON_SIZE_AFTER 4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user