freertos: fix memory debug macro issue

Define configENABLE_MEMORY_DEBUG according to CONFIG_ENABLE_MEMORY_DEBUG
pull/21/head
liuzhifu 2016-09-18 15:35:42 +08:00
rodzic 7fade89fb6
commit 4c74ec9415
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -222,7 +222,9 @@
#define INCLUDE_vTaskDelay 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
#endif