nyx: Control UART debug completely via makefile

Also enables LvGL log.
This commit is contained in:
CTCaer
2020-08-13 10:21:00 +03:00
parent fb7c83a66c
commit 4fc420616d
5 changed files with 23 additions and 12 deletions

View File

@@ -155,7 +155,11 @@
/*Log settings*/
#define USE_LV_LOG 0 /*Enable/disable the log module*/
#ifdef DEBUG_UART_PORT
# define USE_LV_LOG 1 /*Enable/disable the log module*/
#else
# define USE_LV_LOG 0 /*Enable/disable the log module*/
#endif
#if USE_LV_LOG
/* How important log should be added:
* LV_LOG_LEVEL_TRACE A lot of logs to give detailed information