mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Fixed sensors test
This commit is contained in:
parent
dc484c1d21
commit
d48f7ea9f2
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user