navigator: stop complaining about some geofence not cleared

This commit is contained in:
Ban Siesta
2015-05-26 23:00:44 -07:00
committed by Lorenz Meier
parent 54fde63d66
commit 321e1c1f7b
+2 -3
View File
@@ -268,10 +268,9 @@ Navigator::task_main()
} else {
mavlink_log_info(_mavlink_fd, "No geofence set");
if (_geofence.clearDm() > 0)
warnx("Geofence cleared");
else
if (_geofence.clearDm() != OK) {
warnx("Could not clear geofence");
}
}
/* do subscriptions */