forked from Archive/PX4-Autopilot
Fixed missing parent ioctl call
This commit is contained in:
parent
7a4efc81b9
commit
15c079921b
|
@ -229,10 +229,15 @@ GPS::ioctl(struct file *filp, int cmd, unsigned long arg)
|
|||
int ret = OK;
|
||||
|
||||
switch (cmd) {
|
||||
case SENSORIOCRESET:
|
||||
cmd_reset();
|
||||
case SENSORIOCRESET:
|
||||
cmd_reset();
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
/* give it to parent if no one wants it */
|
||||
ret = CDev::ioctl(filp, cmd, arg);
|
||||
break;
|
||||
}
|
||||
|
||||
unlock();
|
||||
|
||||
|
|
Loading…
Reference in New Issue