mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 10:43:34 +08:00
PX4IO driver: better feedback
This commit is contained in:
@@ -2856,10 +2856,10 @@ checkcrc(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ret != OK) {
|
if (ret != OK) {
|
||||||
printf("[PX4IO::checkcrc] check CRC failed - %d\n", ret);
|
warn("check CRC failed - %d", ret);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
printf("[PX4IO::checkcrc] CRCs match\n");
|
warnx("CRCs match\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user