Skip to content

Commit 8211cd2

Browse files
authored
Ignore the QUEUED_LINES attribute from a table field (#394)
1 parent 9f8333d commit 8211cd2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

malcolm/modules/pandablocks/controllers/pandablockcontroller.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ def _make_parts_for(self, field_name, field_data):
230230
self._make_mux(field_name, field_data, Port.INT32)
231231
elif typ == "table":
232232
self._make_table(field_name, field_data)
233+
for suffix in ("QUEUED_LINES",):
234+
self.field_parts[f"{field_name}.{suffix}"] = None
233235
else:
234236
raise ValueError(f"Unknown type {typ!r} subtype {subtyp!r}")
235237

0 commit comments

Comments
 (0)