Fix rgbkb/sol/rev2 build issues (#17601)
This commit is contained in:
parent
b0c3d61c17
commit
81d317aa87
2 changed files with 11 additions and 3 deletions
|
@ -258,6 +258,9 @@ def _parse_led_config(file, matrix_cols, matrix_rows):
|
|||
position_raw.append(_coerce_led_token(_type, value))
|
||||
if section == 3 and bracket_count == 2:
|
||||
flags.append(_coerce_led_token(_type, value))
|
||||
elif _type in [Token.Comment.Preproc]:
|
||||
# TODO: Promote to error
|
||||
return None
|
||||
|
||||
# Slightly better intrim format
|
||||
matrix = list(_get_chunks(matrix_raw, matrix_cols))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue