Navigator: Improve output

This commit is contained in:
Lorenz Meier
2015-07-05 13:45:10 +02:00
parent 48c356fb2b
commit 8c5d99484e
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -265,7 +265,7 @@ Mission::update_offboard_mission()
_navigator->set_mission_result_updated();
} else {
warnx("offboard mission update failed");
PX4_WARN("offboard mission update failed");
}
if (failed) {
+2 -1
View File
@@ -337,11 +337,12 @@ Navigator::task_main()
if (pret == 0) {
/* timed out - periodic check for _task_should_exit, etc. */
PX4_WARN("timed out");
continue;
} else if (pret < 0) {
/* this is undesirable but not much we can do - might want to flag unhappy status */
warn("poll error %d, %d", pret, errno);
PX4_WARN("poll error %d, %d", pret, errno);
continue;
}