Skip to content

Commit 44f52c5

Browse files
committed
evaluate reversed immediately; otherwise get not hashable error
1 parent 21dec61 commit 44f52c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_crickit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def drive_stepper_motor(self):
245245
@property
246246
def feather_drive_stepper_motor(self):
247247
"""``adafruit_motor.motor.StepperMotor`` object on Drive terminals on Crickit FeatherWing"""
248-
return self._motor(reversed(_DRIVE_STEPPER), StepperMotor)
248+
return self._motor(tuple(reversed(_DRIVE_STEPPER)), StepperMotor)
249249

250250
def _motor(self, terminals, motor_class):
251251
device = self._devices.get(terminals, None)

0 commit comments

Comments
 (0)