Changed device::px4_device_handle_t to device::file_t

This change allowed the _posix.cpp file changes to be merged
back into the original files.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-24 17:49:35 -07:00
parent 20d35e33da
commit d913ec8dc9
28 changed files with 600 additions and 1327 deletions
+2 -2
View File
@@ -140,7 +140,7 @@ public:
virtual int init();
virtual int probe();
virtual int setMode(int mode);
virtual int ioctl(device::px4_dev_handle_t *handlep, int cmd, unsigned long arg);
virtual int ioctl(device::file_t *filp, int cmd, unsigned long arg);
static const char *const script_names[];
@@ -358,7 +358,7 @@ BlinkM::probe()
}
int
BlinkM::ioctl(device::px4_dev_handle_t *handlep, int cmd, unsigned long arg)
BlinkM::ioctl(device::file_t *filp, int cmd, unsigned long arg)
{
int ret = ENOTTY;