Skip to content

Commit

Permalink
Typo in cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ztime committed Apr 18, 2015
1 parent 0374f5d commit b0d2c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpioController.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, pins, boardmode="BCM", showWarnings=False):
# Pin is ready to use
self.USED_PINS.append(pin)

def cleanup():
def cleanup(self):
# cleanup pins so that other things can use it
for pin in self.pins:
self.USED_PINS.remove(pin)
Expand Down

0 comments on commit b0d2c26

Please sign in to comment.