mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-21 14:57:36 +08:00
delete unused IOCTL ACCELIOCTYPE
This commit is contained in:
committed by
Lorenz Meier
parent
77abcab46f
commit
eddbd3fc4b
@@ -85,7 +85,4 @@ struct accel_calibration_s {
|
||||
/** determine if hardware is external or onboard */
|
||||
#define ACCELIOCGEXTERNAL _ACCELIOC(12)
|
||||
|
||||
/** get the current accel type */
|
||||
#define ACCELIOCTYPE _ACCELIOC(13)
|
||||
|
||||
#endif /* _DRV_ACCEL_H */
|
||||
|
||||
@@ -1086,9 +1086,6 @@ ADIS16448::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
}
|
||||
}
|
||||
|
||||
case ACCELIOCTYPE:
|
||||
return (ADIS16448_Product);
|
||||
|
||||
default:
|
||||
/* give it to the superclass */
|
||||
return SPI::ioctl(filp, cmd, arg);
|
||||
|
||||
Reference in New Issue
Block a user