We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2fa0bb commit 98aeef4Copy full SHA for 98aeef4
canopen/pdo/base.py
@@ -359,7 +359,8 @@ def _raw_from(param):
359
subindex = (value >> 8) & 0xFF
360
# Ignore the highest bit, it is never valid for <= 64 PDO length
361
size = value & 0x7F
362
- if getattr(self.pdo_node.node, "curtis_hack", False): # Curtis HACK: mixed up field order
+ if getattr(self.pdo_node.node, "curtis_hack", False):
363
+ # Curtis HACK: mixed up field order
364
index = value & 0xFFFF
365
subindex = (value >> 16) & 0xFF
366
size = (value >> 24) & 0x7F
0 commit comments