diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-18 22:39:57 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-18 22:39:57 +0200 |
commit | d48f7ea9f2bf01fa5cc457bb333d2de03a29e408 (patch) | |
tree | f13bf342c34d82739fc8949a44230c33561db22c /apps | |
parent | dc484c1d21fcb7bc4f4be97853647321e8a147e1 (diff) | |
download | px4-firmware-d48f7ea9f2bf01fa5cc457bb333d2de03a29e408.tar.gz px4-firmware-d48f7ea9f2bf01fa5cc457bb333d2de03a29e408.tar.bz2 px4-firmware-d48f7ea9f2bf01fa5cc457bb333d2de03a29e408.zip |
Fixed sensors test
Diffstat (limited to 'apps')
-rw-r--r-- | apps/px4/tests/test_sensors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/px4/tests/test_sensors.c b/apps/px4/tests/test_sensors.c index c7bcc8928..01fa48cc9 100644 --- a/apps/px4/tests/test_sensors.c +++ b/apps/px4/tests/test_sensors.c @@ -435,7 +435,7 @@ hmc5883l(int argc, char *argv[]) fflush(stdout); int fd; - int16_t buf[3] = {0, 0, 0}; + int16_t buf[7] = {0, 0, 0}; int ret; fd = open("/dev/hmc5883l", O_RDONLY); |