diff options
author | px4dev <px4@purgatory.org> | 2012-10-20 16:53:52 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-10-20 16:53:52 -0700 |
commit | bfbd17a2fa5ef685d2d2f71ab0cedbffec6d62d7 (patch) | |
tree | b7bf1c0ff613763ab102aaeeb0e4d0d7aba7e555 /apps/drivers/device/device.h | |
parent | d2ef2afb0b53ec0e889e11f483d45b4272bba704 (diff) | |
download | px4-firmware-bfbd17a2fa5ef685d2d2f71ab0cedbffec6d62d7.tar.gz px4-firmware-bfbd17a2fa5ef685d2d2f71ab0cedbffec6d62d7.tar.bz2 px4-firmware-bfbd17a2fa5ef685d2d2f71ab0cedbffec6d62d7.zip |
Make it possible to run fmu and px4io simultaneously with full control over both sets of possible PWM outputs. First started wins.
Diffstat (limited to 'apps/drivers/device/device.h')
-rw-r--r-- | apps/drivers/device/device.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/drivers/device/device.h b/apps/drivers/device/device.h index 98dbf8bfb..9af678465 100644 --- a/apps/drivers/device/device.h +++ b/apps/drivers/device/device.h @@ -287,6 +287,12 @@ public: protected: /** + * Pointer to the default cdev file operations table; useful for + * registering clone devices etc. + */ + static const struct file_operations fops; + + /** * Check the current state of the device for poll events from the * perspective of the file. * |