mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
navigator: stop complaining about some geofence not cleared
This commit is contained in:
parent
c5f14ef785
commit
3c39e85fdf
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user