Skip to content

Commit 3b2977d

Browse files
de register servo missed off a self
1 parent e19d076 commit 3b2977d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PicoAutonomousRobotics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _servo_pwm():
7575
#doesnt actually register/unregister, just stops and starts the servo PIO
7676
def registerServo(self,servo):
7777
self.servos[servo].active(1)
78-
def deregisterServo(servo):
78+
def deregisterServo(self, servo):
7979
self.servos[servo].active(0)
8080

8181
# goToPosition takes a degree position for the serov to goto.

0 commit comments

Comments
 (0)