Skip to content

Commit

Permalink
Bug fixed: missing arguments. (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
ATATC committed Dec 14, 2024
1 parent dd90367 commit 659f52a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions leads_vec/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def write(self, payload: bool) -> None:
) if payload else LEDGroupCommand(LEDCommand.OFF, Entire()))


@device("lib", MAIN_CONTROLLER)
@device("lib", MAIN_CONTROLLER, (16,))
class LeftIndicatorButton(Button, ButtonCallback):
@override
def on_pressed(self) -> None:
Expand All @@ -232,7 +232,7 @@ def initialize(self, *parent_tags: str) -> None:
self.write(self)


@device("rib", MAIN_CONTROLLER)
@device("rib", MAIN_CONTROLLER, (20,))
class RightIndicatorButton(Button, ButtonCallback):
@override
def on_pressed(self) -> None:
Expand Down

0 comments on commit 659f52a

Please sign in to comment.