delete unused IOCTL ACCELIOCSRANGE

This commit is contained in:
Daniel Agar
2018-11-06 07:43:43 +08:00
committed by Lorenz Meier
parent b0c3e12139
commit 5d3d120705
14 changed files with 10 additions and 83 deletions
-10
View File
@@ -332,16 +332,6 @@ do_accel(int argc, char *argv[])
return 1;
}
} else if (argc == 3 && !strcmp(argv[0], "range")) {
/* set the range to i G */
ret = ioctl(fd, ACCELIOCSRANGE, strtoul(argv[2], NULL, 0));
if (ret) {
PX4_ERR("range could not be set");
return 1;
}
} else {
print_usage();
return 1;