We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b75c387 commit fc8e80dCopy full SHA for fc8e80d
src/durand/services/pdo/base.py
@@ -113,7 +113,7 @@ def mapping(self, multiplexors: Sequence[TMultiplexor]):
113
# TODO: check if variable.size is None
114
# TODO: check if overall size <= 8
115
assert variable.size is not None
116
- value = (index << 16) + (subindex << 8) + variable.size
+ value = (index << 16) + (subindex << 8) + (variable.size * 8)
117
self._node.object_dictionary.write(
118
self.MAPPING_ARRAY_INDEX + self._index, _entry + 1, value
119
)
0 commit comments