fix(script): follow lv_conf_template.h changes in generate_lv_conf.py (#6769)

This commit is contained in:
Gabor Kiss-Vamosi 2024-09-02 05:46:36 +02:00 committed by GitHub
parent dbb5905260
commit bc87ae9f6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,8 +90,8 @@ def generate_config(path_destination: str, path_source: str, defaults: dict):
print(f"Applying: {key} = {value}")
keys_used.add(key)
elif 'Set it to "1" to enable content' in src_line:
dst_line = '#if 1 /*Content enable*/'
elif 'Set this to "1" to enable content' in src_line:
dst_line = '#if 1 /* Enable content */'
else:
dst_line = src_line