Use suggested feedback.

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
cvwillegen 2024-05-29 10:15:46 +02:00 committed by GitHub
parent bf95d1a2a6
commit f21bd4947b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,11 +71,8 @@ def validate_speed(value):
Rotation = stepper_ns.enum("Rotation")
ROTATIONS = {
"BOTH": Rotation.ROTATION_BOTH,
"CW": Rotation.ROTATION_CW,
"CLOCKWISE": Rotation.ROTATION_CW,
"CCW": Rotation.ROTATION_CCW,
"COUNTERCLOCKWISE": Rotation.ROTATION_CCW,
"COUNTER-CLOCKWISE": Rotation.ROTATION_CCW,
}
STEPPER_SCHEMA = cv.Schema(