Browse Source

delete unused IOCTL MAGIOCTYPE

sbg
Daniel Agar 6 years ago committed by Lorenz Meier
parent
commit
04972d196a
  1. 3
      src/drivers/drv_mag.h
  2. 3
      src/drivers/imu/adis16448/adis16448.cpp

3
src/drivers/drv_mag.h

@ -99,7 +99,4 @@ struct mag_calibration_s { @@ -99,7 +99,4 @@ struct mag_calibration_s {
/** enable/disable temperature compensation */
#define MAGIOCSTEMPCOMP _MAGIOC(12)
/** get the current mag type */
#define MAGIOCTYPE _MAGIOC(13)
#endif /* _DRV_MAG_H */

3
src/drivers/imu/adis16448/adis16448.cpp

@ -1177,9 +1177,6 @@ ADIS16448::mag_ioctl(struct file *filp, int cmd, unsigned long arg) @@ -1177,9 +1177,6 @@ ADIS16448::mag_ioctl(struct file *filp, int cmd, unsigned long arg)
case MAGIOCGRANGE:
return (unsigned long)(_mag_range_mgauss);
case MAGIOCTYPE:
return (ADIS16448_Product);
default:
/* give it to the superclass */
return SPI::ioctl(filp, cmd, arg);

Loading…
Cancel
Save