diff --git a/libraries/AP_Math/rotations.h b/libraries/AP_Math/rotations.h index 0d0f333b74..390f1dcae8 100644 --- a/libraries/AP_Math/rotations.h +++ b/libraries/AP_Math/rotations.h @@ -24,7 +24,7 @@ // NOTE!! these rotation values are stored to EEPROM, so be careful not to // change the numbering of any existing entry when adding a new entry. -enum Rotation { +enum Rotation : uint8_t { ROTATION_NONE = 0, ROTATION_YAW_45 = 1, ROTATION_YAW_90 = 2,