Skip to content

Commit e68635b

Browse files
committed
fix: too many out params on get_distance interface
1 parent 81e488f commit e68635b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino_alvik.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def get_color_raw(self) -> (int, int, int):
529529
# int((self.green/COLOR_FULL_SCALE)*255),
530530
# int((self.blue/COLOR_FULL_SCALE)*255))
531531

532-
def get_distance(self, unit: str = 'cm') -> (int, int, int, int, int, int):
532+
def get_distance(self, unit: str = 'cm') -> (int, int, int, int, int):
533533
"""
534534
Returns the distance readout of the TOF sensor
535535
:param unit: distance output unit

0 commit comments

Comments
 (0)