diff --git a/src/drivers/drv_gyro.h b/src/drivers/drv_gyro.h index 35440e0f67..92331baab5 100644 --- a/src/drivers/drv_gyro.h +++ b/src/drivers/drv_gyro.h @@ -94,9 +94,6 @@ struct gyro_calibration_s { /** check the status of the sensor */ #define GYROIOCSELFTEST _GYROIOC(8) -/** determine if hardware is external or onboard */ -#define GYROIOCGEXTERNAL _GYROIOC(12) - /** get the current gyro type */ #define GYROIOCTYPE _GYROIOC(13) diff --git a/src/drivers/mpu6000/mpu6000.cpp b/src/drivers/mpu6000/mpu6000.cpp index 0307b53e6c..4fb0f26b83 100644 --- a/src/drivers/mpu6000/mpu6000.cpp +++ b/src/drivers/mpu6000/mpu6000.cpp @@ -1583,9 +1583,6 @@ MPU6000::gyro_ioctl(struct file *filp, int cmd, unsigned long arg) case GYROIOCSELFTEST: return gyro_self_test(); - case GYROIOCGEXTERNAL: - return _interface->ioctl(cmd, dummy); - default: /* give it to the superclass */ return CDev::ioctl(filp, cmd, arg);