diff --git a/scripts/properties.py b/scripts/properties.py index 060c8451d7..2ab2c01ddc 100755 --- a/scripts/properties.py +++ b/scripts/properties.py @@ -173,7 +173,7 @@ def write_style_header(output, properties_by_widget): /* *INDENT-OFF* */ -typedef enum {{ +enum _lv_property_style_id_t {{ ''') for property in properties: @@ -184,7 +184,7 @@ typedef enum {{ f" LV_PROPERTY_ID(STYLE, {name.upper() + ',' :25} {id_type+',' :28} LV_STYLE_{name.upper()}),\n" ) - f.write('} lv_property_style_id_t;\n\n') + f.write('};\n\n') f.write('#endif\n') f.write('#endif\n')