Skip to content

Commit d9ccadc

Browse files
authored
Merge pull request #37 from geekguy-wy/removing_deinits
Removed deinits from DCMotor and ContinuousServo classes.
2 parents ddcd1e7 + 13063e3 commit d9ccadc

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

adafruit_motor/motor.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,3 @@ def __enter__(self):
8686

8787
def __exit__(self, exception_type, exception_value, traceback):
8888
self.throttle = None
89-
90-
def deinit(self):
91-
"""Stop using the motor."""
92-
self.throttle = None

adafruit_motor/servo.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,3 @@ def __enter__(self):
147147

148148
def __exit__(self, exception_type, exception_value, traceback):
149149
self.throttle = 0
150-
151-
def deinit(self):
152-
"""Stop using the servo."""
153-
self.throttle = 0

0 commit comments

Comments
 (0)