diff --git a/scripts/lv_conf_checker.py b/scripts/lv_conf_checker.py index 04fcb9f72..a16b36353 100644 --- a/scripts/lv_conf_checker.py +++ b/scripts/lv_conf_checker.py @@ -5,7 +5,7 @@ Generates a chechker file for lv_conf.h from lv_conf_templ.h define all the not import re -fin = open("../templates/lv_conf_templ.h", "r"); +fin = open("../lv_conf_template.h", "r"); fout = open("../src/lv_conf_checker.h", "w"); diff --git a/src/lv_conf_checker.h b/src/lv_conf_checker.h index 8fe96eb7f..e1de81219 100644 --- a/src/lv_conf_checker.h +++ b/src/lv_conf_checker.h @@ -439,6 +439,9 @@ #ifndef LV_USE_CHART #define LV_USE_CHART 1 #endif +#ifndef LV_CHART_AXIS_TICK_LABEL_MAX_LEN +#define LV_CHART_AXIS_TICK_LABEL_MAX_LEN 16 +#endif /*Table (dependencies: lv_label)*/ #ifndef LV_USE_TABLE