diff options
author | Julian Oes <julian@oes.ch> | 2013-08-21 14:20:42 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-08-21 14:20:42 +0200 |
commit | 7db420b9b222e6114e2cb6ffb5d726a946dd07c6 (patch) | |
tree | cd576c7de6a3dadffd8b7f8cb761cd1d3eb41a7a /src/systemcmds/config/config.c | |
parent | fc24037b03b0df3d8d75a98b929c7b37753e0337 (diff) | |
download | px4-firmware-7db420b9b222e6114e2cb6ffb5d726a946dd07c6.tar.gz px4-firmware-7db420b9b222e6114e2cb6ffb5d726a946dd07c6.tar.bz2 px4-firmware-7db420b9b222e6114e2cb6ffb5d726a946dd07c6.zip |
Get units right in config
Diffstat (limited to 'src/systemcmds/config/config.c')
-rw-r--r-- | src/systemcmds/config/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemcmds/config/config.c b/src/systemcmds/config/config.c index 262a52d20..188dafa4e 100644 --- a/src/systemcmds/config/config.c +++ b/src/systemcmds/config/config.c @@ -212,7 +212,7 @@ do_mag(int argc, char *argv[]) int prate = ioctl(fd, SENSORIOCGPOLLRATE, 0); int range = ioctl(fd, MAGIOCGRANGE, 0); - warnx("mag: \n\tsample rate:\t%d Hz\n\tread rate:\t%d Hz\n\trange:\t%d gauss", srate, prate, range); + warnx("mag: \n\tsample rate:\t%d Hz\n\tread rate:\t%d Hz\n\trange:\t%d Ga", srate, prate, range); close(fd); } @@ -279,7 +279,7 @@ do_accel(int argc, char *argv[]) int prate = ioctl(fd, SENSORIOCGPOLLRATE, 0); int range = ioctl(fd, ACCELIOCGRANGE, 0); - warnx("accel: \n\tsample rate:\t%d Hz\n\tread rate:\t%d Hz\n\trange:\t%d m/s", srate, prate, range); + warnx("accel: \n\tsample rate:\t%d Hz\n\tread rate:\t%d Hz\n\trange:\t%d G", srate, prate, range); close(fd); } |