Skip to content

Commit 2cff023

Browse files
committed
fix: timer callback registration wrong params
1 parent fe8af5a commit 2cff023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino_alvik/arduino_alvik.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ def timer(self, mode: str, period: int, callback: callable, args: tuple = ()) ->
10591059
"""
10601060

10611061
self._timer_events = _ArduinoAlvikTimerEvents(period)
1062-
self._timer_events.register_callback(mode, callback, *args)
1062+
self._timer_events.register_callback(mode, callback, args)
10631063

10641064
def on_touch_ok_pressed(self, callback: callable, args: tuple = ()) -> None:
10651065
"""

0 commit comments

Comments
 (0)