mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 04:20:36 +08:00
POSIX Device: Fix IOCTL interface
This commit is contained in:
@@ -96,7 +96,7 @@ Device::dev_write(unsigned offset, void *data, unsigned count)
|
||||
}
|
||||
|
||||
int
|
||||
Device::dev_ioctl(unsigned operation, unsigned &arg)
|
||||
Device::dev_ioctl(unsigned operation, unsigned arg)
|
||||
{
|
||||
switch (operation) {
|
||||
case DEVIOCGDEVICEID:
|
||||
|
||||
Reference in New Issue
Block a user