mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-26 00:10:18 +00:00
m1n1.adt: Fix parsing of template ADTs
Adding the speaker calibration stuff broke it because we try to parse template values as real values. Don't do that. Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
fe104d3848
commit
2389fa9d3d
1 changed files with 2 additions and 0 deletions
|
@ -275,6 +275,8 @@ def parse_prop(node, path, node_name, name, v, is_template=False):
|
|||
|
||||
if is_template:
|
||||
t = CString("ascii")
|
||||
v = Sequence(t, Terminated).parse(v)[0]
|
||||
return t, v
|
||||
|
||||
dev_props = None
|
||||
for k, pt in DEV_PROPERTIES.items():
|
||||
|
|
Loading…
Reference in a new issue