trying to fix antennas twitching

This commit is contained in:
apirrone 2025-05-05 14:31:31 +02:00
parent 3858e1c5a2
commit 8460d913ec

View file

@ -45,7 +45,7 @@ class Antennas:
print("set")
self.pwm1.ChangeDutyCycle(7)
self.pwm1_set = True
elif servo == 2 and not self.pwm2_set:
if servo == 2 and not self.pwm2_set:
print("set")
self.pwm2.ChangeDutyCycle(7)
self.pwm2_set = True