Skip to content

Commit e41fca4

Browse files
dlechWasabiFan
authored andcommitted
Fix name of EV3 Gyro sensor TILT-ANG mode (#618)
Fixes #616
1 parent e821b47 commit e41fca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ev3dev2/sensor/lego.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,9 +568,9 @@ class GyroSensor(Sensor):
568568
MODE_GYRO_CAL = 'GYRO-CAL'
569569

570570
# Newer versions of the Gyro sensor also have an additional second axis
571-
# accessible via the TILT-ANGLE and TILT-RATE modes that is not usable
571+
# accessible via the TILT-ANG and TILT-RATE modes that is not usable
572572
# using the official EV3-G blocks
573-
MODE_TILT_ANG = 'TILT-ANGLE'
573+
MODE_TILT_ANG = 'TILT-ANG'
574574
MODE_TILT_RATE = 'TILT-RATE'
575575

576576
MODES = (

0 commit comments

Comments
 (0)