Skip to content
Snippets Groups Projects
Commit 069471a6 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Commander: Indicate error number on failure

parent 260b77dd
No related branches found
No related tags found
No related merge requests found
......@@ -199,7 +199,7 @@ static bool accelerometerCheck(int mavlink_fd, unsigned instance, bool optional,
if (ret != OK) {
if (report_fail) {
mavlink_and_console_log_critical(mavlink_fd,
"PREFLIGHT FAIL: ACCEL #%u SELFTEST FAILED", instance);
"PREFLIGHT FAIL: ACCEL #%u TEST FAILED: %d", instance, ret);
}
success = false;
goto out;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment