mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Linux: fixed bad return value
Function was always returning -ENOTTY instead of the "ret" variable. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
parent
400b9ebc20
commit
a6950eb7d3
@ -315,7 +315,7 @@ VDev::ioctl(px4_dev_handle_t *handlep, int cmd, unsigned long arg)
|
||||
break;
|
||||
}
|
||||
|
||||
return -ENOTTY;
|
||||
return ret;
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user