mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 10:20:35 +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;
|
||||
}
|
||||
|
||||
case SENSORIOCGQUEUEDEPTH:
|
||||
return _reports->size();
|
||||
|
||||
case SENSORIOCSROTATION:
|
||||
_sensor_rotation = (enum Rotation)arg;
|
||||
return OK;
|
||||
|
||||
Reference in New Issue
Block a user