diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-14 20:32:45 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-15 19:52:01 +0100 |
commit | ccac7cbd78db2fec1ca20b48d06bd86e66f47d91 (patch) | |
tree | 1a5f0b77fb287bf8ca75ff57a6dbefa761afeb6d /src/drivers/px4io | |
parent | aef041e0329fc1902f88392945d875bb49eba6f5 (diff) | |
download | px4-firmware-ccac7cbd78db2fec1ca20b48d06bd86e66f47d91.tar.gz px4-firmware-ccac7cbd78db2fec1ca20b48d06bd86e66f47d91.tar.bz2 px4-firmware-ccac7cbd78db2fec1ca20b48d06bd86e66f47d91.zip |
PX4IO driver: better feedback
Diffstat (limited to 'src/drivers/px4io')
-rw-r--r-- | src/drivers/px4io/px4io.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp index f8599ca57..dd9f2f7d7 100644 --- a/src/drivers/px4io/px4io.cpp +++ b/src/drivers/px4io/px4io.cpp @@ -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); } |