delete unused IOCTL GYROIOCGSCALE

This commit is contained in:
Daniel Agar
2018-11-06 07:43:43 +08:00
committed by Lorenz Meier
parent f21f1a1357
commit aaf0b6fb5c
10 changed files with 0 additions and 48 deletions
@@ -755,11 +755,6 @@ GYROSIM::gyro_ioctl(unsigned long cmd, unsigned long arg)
memcpy(&_gyro_scale, (struct gyro_calibration_s *) arg, sizeof(_gyro_scale));
return OK;
case GYROIOCGSCALE:
/* copy scale out */
memcpy((struct gyro_calibration_s *) arg, &_gyro_scale, sizeof(_gyro_scale));
return OK;
case GYROIOCSRANGE:
/* XXX not implemented */
// XXX change these two values on set: