From 2ca2382dbbcc8124243191861dce37c68fdc627d Mon Sep 17 00:00:00 2001 From: ChristophTobler Date: Fri, 1 Dec 2017 08:54:27 +0100 Subject: [PATCH] tap_esc: replace FILE with file_t from base class device --- src/drivers/tap_esc/tap_esc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/tap_esc/tap_esc.cpp b/src/drivers/tap_esc/tap_esc.cpp index c765a24fe9..8d9559f0dc 100644 --- a/src/drivers/tap_esc/tap_esc.cpp +++ b/src/drivers/tap_esc/tap_esc.cpp @@ -100,7 +100,7 @@ public: TAP_ESC(int channels_count); virtual ~TAP_ESC(); virtual int init(); - virtual int ioctl(FILE *filp, int cmd, unsigned long arg); + virtual int ioctl(device::file_t *filp, int cmd, unsigned long arg); void cycle(); private: @@ -852,7 +852,7 @@ int TAP_ESC::control_callback(uint8_t control_group, uint8_t control_index, floa } int -TAP_ESC::ioctl(FILE *filp, int cmd, unsigned long arg) +TAP_ESC::ioctl(device::file_t *filp, int cmd, unsigned long arg) { int ret = OK;