delete ACCELIOCSELFTEST and GYROIOCSELFTEST

This commit is contained in:
Daniel Agar
2018-08-02 08:05:52 +02:00
committed by Lorenz Meier
parent 31c08c7ffb
commit 568a5f1c4c
23 changed files with 0 additions and 623 deletions
@@ -816,12 +816,6 @@ BMM150::ioctl(struct file *filp, int cmd, unsigned long arg)
case MAGIOCGSAMPLERATE:
return 1000000 / _call_interval;
case MAGIOCSRANGE:
return OK;
case MAGIOCGRANGE:
return OK;
default:
/* give it to the superclass */
return I2C::ioctl(filp, cmd, arg);
@@ -688,12 +688,6 @@ IST8310::ioctl(struct file *filp, int cmd, unsigned long arg)
/* same as pollrate because device is in single measurement mode*/
return 1000000 / TICK2USEC(_measure_ticks);
case MAGIOCSRANGE:
return OK;
case MAGIOCGRANGE:
return 0;
case MAGIOCEXSTRAP:
return set_selftest(arg);
@@ -99,14 +99,6 @@ lis3mdl::init(LIS3MDL_BUS bus_id)
PX4_INFO("Poll rate set to max (80hz)");
}
/* Set to 4 Gauss */
if (ioctl(fd, MAGIOCSRANGE, 4) != OK) {
PX4_WARN("FAILED: MAGIOCSRANGE 4 Gauss");
} else {
PX4_INFO("Set mag range to 4 Gauss");
}
close(fd);
return true;