mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 04:01:36 +08:00
Minor re-addition
This commit is contained in:
@@ -364,6 +364,9 @@ PX4FLOW::ioctl(struct file *filp, int cmd, unsigned long arg)
|
|||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case SENSORIOCGQUEUEDEPTH:
|
||||||
|
return _reports->size();
|
||||||
|
|
||||||
case SENSORIOCSROTATION:
|
case SENSORIOCSROTATION:
|
||||||
_sensor_rotation = (enum Rotation)arg;
|
_sensor_rotation = (enum Rotation)arg;
|
||||||
return OK;
|
return OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user