Skip to content

Commit

Permalink
Support platforms like CF2 without capture ioctl
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisss authored and David Sidrane committed Jul 20, 2017
1 parent f93be99 commit ca82d36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/drivers/px4fmu/fmu.cpp
Expand Up @@ -2899,6 +2899,9 @@ PX4FMU::capture_ioctl(struct file *filp, int cmd, unsigned long arg)
}

unlock();

#else
ret = -ENOTTY;
#endif
return ret;
}
Expand Down

0 comments on commit ca82d36

Please sign in to comment.