Skip to content

Commit 266328f

Browse files
Fix bug when disconnecting
1 parent 2832eaf commit 266328f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

canopen/pdo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def export(self, filename):
113113

114114
def stop(self):
115115
"""Stop transmission of all Rx PDOs."""
116-
for pdo_map in self.rx:
116+
for pdo_map in self.rx.values():
117117
pdo_map.stop()
118118

119119
class Maps(collections.Mapping):

canopen/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
__version__ = "0.4.0.dev8"
2+
__version__ = "0.4.0.dev9"

0 commit comments

Comments
 (0)