fix set_pos

Signed-off-by: Thomas Schmid <tom@lfence.de>
This commit is contained in:
Thomas 2021-07-28 20:08:44 +02:00
parent 838a739b7c
commit ea5d0a7e5c
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class Laser:
def set_pos(self, x, y):
x = clamp(x, 1, 127)
y = clamp(x, 1, 127)
y = clamp(y, 1, 127)
self._set_channel(5, x)
self._set_channel(6, y)
self._send_channels([5,6])