Skip to content

Commit

Permalink
Fix bug when disconnecting
Browse files Browse the repository at this point in the history
  • Loading branch information
christiansandberg committed Jan 10, 2017
1 parent 2832eaf commit 266328f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion canopen/pdo.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def export(self, filename):

def stop(self):
"""Stop transmission of all Rx PDOs."""
for pdo_map in self.rx:
for pdo_map in self.rx.values():
pdo_map.stop()

class Maps(collections.Mapping):
Expand Down
2 changes: 1 addition & 1 deletion canopen/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__ = "0.4.0.dev8"
__version__ = "0.4.0.dev9"

0 comments on commit 266328f

Please sign in to comment.