delete unused IOCTL GYROIOCSRANGE

This commit is contained in:
Daniel Agar
2018-11-03 15:04:15 -04:00
committed by Lorenz Meier
parent aaf0b6fb5c
commit 068dcb37df
11 changed files with 0 additions and 56 deletions
@@ -755,13 +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 GYROIOCSRANGE:
/* XXX not implemented */
// XXX change these two values on set:
// _gyro_range_scale = xx
// _gyro_range_rad_s = xx
return -EINVAL;
case GYROIOCGRANGE:
return (unsigned long)(_gyro_range_rad_s * 180.0f / M_PI_F + 0.5f);