Commit 7e9c2bef authored by Lorenz Meier's avatar Lorenz Meier

Fix warning in waypoint class

parent 61be9117
......@@ -194,11 +194,9 @@ void Waypoint::setAction(MAV_CMD action)
// Flick defaults according to WP type
switch (this->action) {
if (this->action == MAV_CMD_NAV_TAKEOFF) {
// We default to 15 degrees minimum takeoff pitch
this->param1 = 15.0;
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