mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
add comment to lv_conf_checker.h
This commit is contained in:
parent
cc20e4cb7d
commit
837cb2b695
@ -1,3 +1,8 @@
|
|||||||
|
'''
|
||||||
|
Generates a chechker file for lv_conf.h from lv_conf_templ.h define all the not defined values
|
||||||
|
'''
|
||||||
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
fin = open("lv_conf_templ.h", "r");
|
fin = open("lv_conf_templ.h", "r");
|
||||||
@ -6,6 +11,7 @@ fout = open("lv_conf_checker.h", "w");
|
|||||||
|
|
||||||
fout.write(
|
fout.write(
|
||||||
'/**\n\
|
'/**\n\
|
||||||
|
* GENERATED FILE, DO NOT EDIT IT!\n\
|
||||||
* @file lv_conf_checker.h\n\
|
* @file lv_conf_checker.h\n\
|
||||||
* Make sure all the defines of lv_conf.h have a default value\n\
|
* Make sure all the defines of lv_conf.h have a default value\n\
|
||||||
**/\n\
|
**/\n\
|
||||||
@ -15,7 +21,6 @@ fout.write(
|
|||||||
'
|
'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
inlines = fin.read().splitlines();
|
inlines = fin.read().splitlines();
|
||||||
|
|
||||||
started = 0
|
started = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user