navigator: stop complaining about some geofence not cleared

This commit is contained in:
Ban Siesta 2015-05-25 18:09:01 +01:00
parent c5f14ef785
commit 3c39e85fdf

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 */