Commit bf89851b authored by Mariano Lizarraga's avatar Mariano Lizarraga

Fixed some missing curly braces that were removed by the conflict resolution tool

parent 710ca1a9
......@@ -357,7 +357,7 @@ protected slots:
void receiveMessageNamedValue(const mavlink_message_t& message);
private:
unsigned int mode; ///< The current mode of the MAV
// unsigned int mode; ///< The current mode of the MAV
};
......
......@@ -191,11 +191,12 @@ void WaypointList::add()
wp = new Waypoint(0, uas->getLatitude(), uas->getLongitude(), uas->getAltitude(), 0.0, 0.0, 0.0, 0.0, true, true, MAV_FRAME_GLOBAL, MAV_CMD_NAV_WAYPOINT);
uas->getWaypointManager()->addWaypoint(wp);
}
}
}
void WaypointList::addCurrentPositonWaypoint()
{
void WaypointList::addCurrentPositonWaypoint(){
/* TODO: implement with new waypoint structure
if (uas)
{
......
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