Commit e93fd779 authored by Lorenz Meier's avatar Lorenz Meier

Merge branch 'master' into mavlink-ftp

parents 30b9072d 7e9c2bef
......@@ -194,11 +194,9 @@ void Waypoint::setAction(MAV_CMD action)
// Flick defaults according to WP type
switch (this->action) {
case MAV_CMD_NAV_TAKEOFF:
if (this->action == MAV_CMD_NAV_TAKEOFF) {
// We default to 15 degrees minimum takeoff pitch
this->param1 = 15.0;
break;
}
emit changed(this);
......
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