PX4IO driver: better feedback

This commit is contained in:
Lorenz Meier 2015-02-14 20:32:45 +01:00
parent aef041e032
commit ccac7cbd78

View File

@ -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);
}