mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 17:53:35 +08:00
delete unused IOCTL ACCELIOCGSCALE
This commit is contained in:
committed by
Lorenz Meier
parent
8ad59160c9
commit
b0c3e12139
@@ -668,11 +668,6 @@ BMI160::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
}
|
||||
}
|
||||
|
||||
case ACCELIOCGSCALE:
|
||||
/* copy scale out */
|
||||
memcpy((struct accel_calibration_s *) arg, &_accel_scale, sizeof(_accel_scale));
|
||||
return OK;
|
||||
|
||||
case ACCELIOCSRANGE:
|
||||
return set_accel_range(arg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user