mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 09:13:32 +08:00
Fixed sensors test
This commit is contained in:
@@ -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