Explorar el Código

log: Remove redundant definition of LOG_LOCAL_LEVEL

After adding a maximum setting, the default value of LOG_LOCAL_LEVEL
will be CONFIG_LOG_MAXIMUM_LEVEL not CONFIG_LOG_DEFAULT_LEVEL
Angus Gratton hace 4 años
padre
commit
6e80811ca2

+ 0 - 1
components/app_trace/gcov/gcov_rtio.c

@@ -34,7 +34,6 @@
 
 #define ESP_GCOV_DOWN_BUF_SIZE  4200
 
-#define LOG_LOCAL_LEVEL CONFIG_LOG_DEFAULT_LEVEL
 #include "esp_log.h"
 const static char *TAG = "esp_gcov_rtio";
 

+ 0 - 1
components/app_trace/host_file_io.c

@@ -27,7 +27,6 @@
 
 #if CONFIG_APPTRACE_ENABLE
 
-#define LOG_LOCAL_LEVEL CONFIG_LOG_DEFAULT_LEVEL
 #include "esp_log.h"
 const static char *TAG = "esp_host_file_io";
 

+ 0 - 1
components/esp_system/dbg_stubs.c

@@ -32,7 +32,6 @@
     This entry is used by OpenOCD code to invoke other stub entries and allocate memory for them.
  */
 
-#define LOG_LOCAL_LEVEL CONFIG_LOG_DEFAULT_LEVEL
 #include "esp_log.h"
 const static char *TAG = "esp_dbg_stubs";
 

+ 0 - 1
components/esp_system/stack_check.c

@@ -18,7 +18,6 @@
 
 #if CONFIG_COMPILER_STACK_CHECK
 
-#define LOG_LOCAL_LEVEL CONFIG_LOG_DEFAULT_LEVEL
 #include "esp_log.h"
 const static char *TAG = "stack_chk";
 

+ 0 - 1
components/pthread/pthread.c

@@ -31,7 +31,6 @@
 #include "pthread_internal.h"
 #include "esp_pthread.h"
 
-#define LOG_LOCAL_LEVEL CONFIG_LOG_DEFAULT_LEVEL
 #include "esp_log.h"
 const static char *TAG = "pthread";
 

+ 0 - 1
components/pthread/pthread_cond_var.c

@@ -30,7 +30,6 @@
 #include <sys/queue.h>
 #include <sys/time.h>
 
-#define LOG_LOCAL_LEVEL CONFIG_LOG_DEFAULT_LEVEL
 #include "esp_log.h"
 const static char *TAG = "esp_pthread";
 

+ 0 - 1
components/pthread/test/test_pthread_cxx.cpp

@@ -8,7 +8,6 @@
 
 #if __GTHREADS && __GTHREADS_CXX0X
 
-#define LOG_LOCAL_LEVEL CONFIG_LOG_DEFAULT_LEVEL
 #include "esp_log.h"
 const static char *TAG = "pthread_test";