mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-24 16:01:53 +08:00
Fixed sensors test
This commit is contained in:
1 parent
dc484c1d21
commit
d48f7ea9f2
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user