Skip to content

Commit 49dfbe3

Browse files
Update canopen/pdo/base.py
Co-authored-by: André Colomb <github.com@andre.colomb.de>
1 parent 98aeef4 commit 49dfbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

canopen/pdo/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def _raw_from(param):
372372
def save(self) -> None:
373373
"""Save PDO configuration for this map using SDO."""
374374
if self.cob_id is None:
375-
logger.debug("Skipping %s: no cob-id set", self.com_record.od.name)
375+
logger.debug("Skipping %s: no COB-iD set", self.com_record.od.name)
376376
return
377377
logger.info("Setting COB-ID 0x%X and temporarily disabling PDO", self.cob_id)
378378
self.com_record[1].raw = self.cob_id | PDO_NOT_VALID | (RTR_NOT_ALLOWED if not self.rtr_allowed else 0x0)

0 commit comments

Comments
 (0)