Minor re-addition

This commit is contained in:
M.H.Kabir 2014-12-30 16:32:16 +05:30
parent ce03794eca
commit 32bfc6cdb8
1 changed files with 3 additions and 0 deletions

View File

@ -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;