delete drv_gpio.h, modules/gpio_led, and fmu GPIO ioctls

This commit is contained in:
Daniel Agar
2018-12-03 16:30:39 +01:00
committed by Lorenz Meier
parent c303e36ed0
commit d4e06e517a
67 changed files with 6 additions and 1213 deletions
+2 -14
View File
@@ -63,7 +63,6 @@
#include <drivers/drv_rc_input.h>
#include <drivers/drv_pwm_output.h>
#include <drivers/drv_sbus.h>
#include <drivers/drv_gpio.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_mixer.h>
@@ -449,6 +448,8 @@ namespace
PX4IO *g_dev = nullptr;
}
#define PX4IO_DEVICE_PATH "/dev/px4io"
PX4IO::PX4IO(device::Device *interface) :
CDev(PX4IO_DEVICE_PATH),
_interface(interface),
@@ -2749,19 +2750,6 @@ PX4IO::ioctl(file *filep, int cmd, unsigned long arg)
ret = (arg == PWM_SERVO_ENTER_TEST_MODE || PWM_SERVO_EXIT_TEST_MODE) ? 0 : -EINVAL;
break;
case GPIO_RESET: {
ret = -EINVAL;
break;
}
case GPIO_SET:
ret = -EINVAL;
break;
case GPIO_CLEAR:
ret = -EINVAL;
break;
case MIXERIOCGETOUTPUTCOUNT:
*(unsigned *)arg = _max_actuators;
break;