Skip to content

Commit

Permalink
Fixed inverted Minor Servo Gregorian cover value
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe-carboni committed Feb 14, 2024
1 parent ee26ca7 commit 2da69aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simulators/minor_servos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def _setup(self, args):
)
servo.operative_mode_timer.daemon = True
servo.operative_mode_timer.start()
gregorian_cap_position = 1 if self.configuration != 1 else 2
gregorian_cap_position = 1 if self.configuration == 1 else 2
if self.gregorian_cap.value != gregorian_cap_position:
_change_atomic_value(self.gregorian_cap, 0)
self.cover_timer = Timer(
Expand Down

0 comments on commit 2da69aa

Please sign in to comment.