forked from Archive/PX4-Autopilot
delete unused IOCTL GYROIOCTYPE
This commit is contained in:
parent
ef65e5267a
commit
0d67050089
|
@ -82,7 +82,4 @@ struct gyro_calibration_s {
|
|||
/** set the gyro scaling constants to (arg) */
|
||||
#define GYROIOCSSCALE _GYROIOC(4)
|
||||
|
||||
/** get the current gyro type */
|
||||
#define GYROIOCTYPE _GYROIOC(13)
|
||||
|
||||
#endif /* _DRV_GYRO_H */
|
||||
|
|
|
@ -1129,9 +1129,6 @@ ADIS16448::gyro_ioctl(struct file *filp, int cmd, unsigned long arg)
|
|||
memcpy(&_gyro_scale, (struct gyro_calibration_s *) arg, sizeof(_gyro_scale));
|
||||
return OK;
|
||||
|
||||
case GYROIOCTYPE:
|
||||
return (ADIS16448_Product);
|
||||
|
||||
default:
|
||||
/* give it to the superclass */
|
||||
return SPI::ioctl(filp, cmd, arg);
|
||||
|
|
Loading…
Reference in New Issue