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:
Hector Martin 2023-04-09 19:22:09 +09:00
parent fe104d3848
commit 2389fa9d3d

View file

@ -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():