diff --git a/include/hasp_macro.h b/include/hasp_macro.h index f9199099..d3b6bdcc 100644 --- a/include/hasp_macro.h +++ b/include/hasp_macro.h @@ -7,16 +7,14 @@ #define LOG_OUTPUT(...) Log.output(...) #if HASP_LOG_LEVEL > LOG_LEVEL_FATAL -#define LOG_FATAL(...) \ - Log.fatal(__VA_ARGS__); \ - while (true) \ - { \ +#define LOG_FATAL(...) \ + Log.fatal(__VA_ARGS__); \ + while(true) { \ } #else -#define LOG_FATAL(...) \ - do \ - { \ - } while (0) +#define LOG_FATAL(...) \ + do { \ + } while(0) #endif #if HASP_LOG_LEVEL > LOG_LEVEL_ALERT @@ -69,4 +67,4 @@ #endif -#endif +#endif // HASP_MACRO_H diff --git a/include/lv_conf_v7.h b/include/lv_conf_v7.h index 1f659742..83012a90 100644 --- a/include/lv_conf_v7.h +++ b/include/lv_conf_v7.h @@ -289,7 +289,7 @@ typedef void* lv_indev_drv_user_data_t; /*Type of user data in the in /* 1: Print the log with 'printf'; * 0: user need to register a callback with `lv_log_register_print_cb`*/ -# define LV_LOG_PRINTF 1 +# define LV_LOG_PRINTF 0 #endif /*LV_USE_LOG*/ /*=================