Commit eb8d8faa authored by Bill Bonney's avatar Bill Bonney

Fixed two warnings.

parent 4cd86dec
......@@ -187,7 +187,7 @@ void MAVLinkProtocol::linkStatusChanged(bool connected)
link->writeBytes(init, sizeof(init));
// Stop any running mavlink instance
char* cmd = "mavlink stop\n";
const char* cmd = "mavlink stop\n";
link->writeBytes(cmd, strlen(cmd));
link->writeBytes(init, 2);
cmd = "uorb start";
......
......@@ -232,11 +232,11 @@ void UASManager::uavChangedHomePosition(int uav, double lat, double lon, double
**/
UASManager::UASManager() :
activeUAS(NULL),
offlineUASWaypointManager(NULL),
homeLat(47.3769),
homeLon(8.549444),
homeAlt(470.0),
homeFrame(MAV_FRAME_GLOBAL),
offlineUASWaypointManager(NULL)
homeFrame(MAV_FRAME_GLOBAL)
{
loadSettings();
setLocalNEDSafetyBorders(1, -1, 0, -1, 1, -1);
......
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