forked from espressif/esp-idf
freertos: fix memory debug macro issue
Define configENABLE_MEMORY_DEBUG according to CONFIG_ENABLE_MEMORY_DEBUG
This commit is contained in:
@@ -222,7 +222,9 @@
|
|||||||
#define INCLUDE_vTaskDelay 1
|
#define INCLUDE_vTaskDelay 1
|
||||||
#define INCLUDE_uxTaskGetStackHighWaterMark 1
|
#define INCLUDE_uxTaskGetStackHighWaterMark 1
|
||||||
|
|
||||||
#ifndef configENABLE_MEMORY_DEBUG
|
#if CONFIG_ENABLE_MEMORY_DEBUG
|
||||||
|
#define configENABLE_MEMORY_DEBUG 1
|
||||||
|
#else
|
||||||
#define configENABLE_MEMORY_DEBUG 0
|
#define configENABLE_MEMORY_DEBUG 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user