mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 17:50:35 +08:00
navigator: stop complaining about some geofence not cleared
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user