From 49dfbe38ccbb67fbf3aa6758df820fd9240b9ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frieder=20Sch=C3=BCler?= Date: Tue, 4 Jun 2024 17:08:04 +0200 Subject: [PATCH] Update canopen/pdo/base.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: André Colomb --- canopen/pdo/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canopen/pdo/base.py b/canopen/pdo/base.py index f149d9bc..7f5d121f 100644 --- a/canopen/pdo/base.py +++ b/canopen/pdo/base.py @@ -372,7 +372,7 @@ def _raw_from(param): def save(self) -> None: """Save PDO configuration for this map using SDO.""" if self.cob_id is None: - logger.debug("Skipping %s: no cob-id set", self.com_record.od.name) + logger.debug("Skipping %s: no COB-iD set", self.com_record.od.name) return logger.info("Setting COB-ID 0x%X and temporarily disabling PDO", self.cob_id) self.com_record[1].raw = self.cob_id | PDO_NOT_VALID | (RTR_NOT_ALLOWED if not self.rtr_allowed else 0x0)