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:
@ -131,7 +131,9 @@ extern char _heap_start;
|
||||
* callback is called: `UMM_HEAP_CORRUPTION_CB()`
|
||||
*/
|
||||
|
||||
#if defined(DEBUG_ESP_PORT) || defined(DEBUG_ESP_CORE)
|
||||
#define UMM_POISON
|
||||
#endif
|
||||
|
||||
#define UMM_POISON_SIZE_BEFORE 4
|
||||
#define UMM_POISON_SIZE_AFTER 4
|
||||
|
Reference in New Issue
Block a user