Browse Source

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

QGC4.4
Mariano Lizarraga 14 years ago
parent
commit
bf89851b23
  1. 2
      src/uas/UAS.h
  2. 5
      src/ui/WaypointList.cc

2
src/uas/UAS.h

@ -357,7 +357,7 @@ protected slots:
void receiveMessageNamedValue(const mavlink_message_t& message); void receiveMessageNamedValue(const mavlink_message_t& message);
private: private:
unsigned int mode; ///< The current mode of the MAV // unsigned int mode; ///< The current mode of the MAV
}; };

5
src/ui/WaypointList.cc

@ -192,10 +192,11 @@ void WaypointList::add()
uas->getWaypointManager()->addWaypoint(wp); uas->getWaypointManager()->addWaypoint(wp);
} }
}
} }
void WaypointList::addCurrentPositonWaypoint() void WaypointList::addCurrentPositonWaypoint(){
{
/* TODO: implement with new waypoint structure /* TODO: implement with new waypoint structure
if (uas) if (uas)
{ {

Loading…
Cancel
Save