Commit f9238f7e authored by Lorenz Meier's avatar Lorenz Meier

UAS: Add ability to calibrate horizon to level

parent 8df3e097
......@@ -1472,6 +1472,9 @@ void UAS::startCalibration(UASInterface::StartCalibrationType calType)
case StartCalibrationAccel:
accelCal = 1;
break;
case StartCalibrationLevel:
accelCal = 2;
break;
}
mavlink_message_t msg;
......
......@@ -243,7 +243,8 @@ public:
StartCalibrationGyro,
StartCalibrationMag,
StartCalibrationAirspeed,
StartCalibrationAccel
StartCalibrationAccel,
StartCalibrationLevel
};
/// Starts the specified calibration
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment