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 848b03f commit 44d302eCopy full SHA for 44d302e
canopen/pdo/base.py
@@ -433,8 +433,8 @@ def _set_com_record(
433
# mappings for an invalid object 0x0000:00 to overwrite any
434
# excess entries with all-zeros.
435
self._fill_map(self.map_array[0].raw)
436
- for var, entry in zip(self.map, self.map_array):
437
- if not entry.writable:
+ for var, entry in zip(self.map, self.map_array.values()):
+ if not entry.od.writable:
438
continue
439
logger.info(
440
"Writing %s (0x%04X:%02X, %d bits) to PDO map",
0 commit comments