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