diff --git a/libraries/AP_AHRS/AP_AHRS.h b/libraries/AP_AHRS/AP_AHRS.h index a48ec279bb..c9324d9374 100644 --- a/libraries/AP_AHRS/AP_AHRS.h +++ b/libraries/AP_AHRS/AP_AHRS.h @@ -35,7 +35,7 @@ class OpticalFlow; #define AP_AHRS_RP_P_MIN 0.05f // minimum value for AHRS_RP_P parameter #define AP_AHRS_YAW_P_MIN 0.05f // minimum value for AHRS_YAW_P parameter -enum AHRS_VehicleClass { +enum AHRS_VehicleClass : uint8_t { AHRS_VEHICLE_UNKNOWN, AHRS_VEHICLE_GROUND, AHRS_VEHICLE_COPTER,