Skip to content

Commit ac0ce60

Browse files
committed
Make the board type more specific
1 parent c4b4328 commit ac0ce60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XRPLib/encoded_motor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_default_encoded_motor(cls, index:int = 1):
2121
:param index: The index of the motor to get; 1 for left, 2 for right, 3 for motor 3, 4 for motor 4
2222
:type index: int
2323
"""
24-
if "2350" in sys.implementation._machine:
24+
if "RP2350" in sys.implementation._machine:
2525
usePwm = True
2626
else:
2727
usePwm = False

0 commit comments

Comments
 (0)