From d48f7ea9f2bf01fa5cc457bb333d2de03a29e408 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 18 Aug 2012 22:39:57 +0200 Subject: [PATCH] Fixed sensors test --- apps/px4/tests/test_sensors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/px4/tests/test_sensors.c b/apps/px4/tests/test_sensors.c index c7bcc89287..01fa48cc9d 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);