mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 21:43:33 +08:00
navigator: stop complaining about some geofence not cleared
This commit is contained in:
@@ -268,10 +268,9 @@ Navigator::task_main()
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
mavlink_log_info(_mavlink_fd, "No geofence set");
|
mavlink_log_info(_mavlink_fd, "No geofence set");
|
||||||
if (_geofence.clearDm() > 0)
|
if (_geofence.clearDm() != OK) {
|
||||||
warnx("Geofence cleared");
|
|
||||||
else
|
|
||||||
warnx("Could not clear geofence");
|
warnx("Could not clear geofence");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* do subscriptions */
|
/* do subscriptions */
|
||||||
|
|||||||
Reference in New Issue
Block a user