mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 06:40:36 +08:00
delete unused IOCTL GYROIOCSRANGE
This commit is contained in:
committed by
Lorenz Meier
parent
aaf0b6fb5c
commit
068dcb37df
@@ -198,16 +198,6 @@ do_gyro(int argc, char *argv[])
|
||||
return 1;
|
||||
}
|
||||
|
||||
} else if (argc == 3 && !strcmp(argv[0], "range")) {
|
||||
|
||||
/* set the range to i dps */
|
||||
ret = ioctl(fd, GYROIOCSRANGE, strtoul(argv[2], NULL, 0));
|
||||
|
||||
if (ret) {
|
||||
PX4_ERR("range could not be set");
|
||||
return 1;
|
||||
}
|
||||
|
||||
} else {
|
||||
print_usage();
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user