forked from Archive/PX4-Autopilot
delete unused SENSORIOCCALTEST
This commit is contained in:
parent
4980b93830
commit
344cf83549
|
@ -147,9 +147,4 @@
|
|||
*/
|
||||
#define SENSORIOCRESET _SENSORIOC(4)
|
||||
|
||||
/**
|
||||
* Test the sensor calibration
|
||||
*/
|
||||
#define SENSORIOCCALTEST _SENSORIOC(7)
|
||||
|
||||
#endif /* _DRV_SENSOR_H */
|
||||
|
|
|
@ -80,12 +80,7 @@ namespace Preflight
|
|||
|
||||
static int check_calibration(DevHandle &h, const char *param_template, int &devid)
|
||||
{
|
||||
bool calibration_found;
|
||||
|
||||
/* new style: ask device for calibration state */
|
||||
int ret = h.ioctl(SENSORIOCCALTEST, 0);
|
||||
|
||||
calibration_found = (ret == OK);
|
||||
bool calibration_found = false;
|
||||
|
||||
devid = h.ioctl(DEVIOCGDEVICEID, 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue