diff --git a/src/drivers/drv_gpio.h b/src/drivers/drv_gpio.h index 03107a147e..4e81e61c68 100644 --- a/src/drivers/drv_gpio.h +++ b/src/drivers/drv_gpio.h @@ -79,7 +79,4 @@ #define GPIO_PERIPHERAL_RAIL_RESET GPIOC(14) -/** configure the board GPIOs in (arg) as outputs, initially high */ -#define GPIO_SET_OUTPUT_HIGH GPIOC(16) - #endif /* _DRV_GPIO_H */ diff --git a/src/drivers/px4fmu/fmu.cpp b/src/drivers/px4fmu/fmu.cpp index 779cbdc27d..20613bb4a5 100644 --- a/src/drivers/px4fmu/fmu.cpp +++ b/src/drivers/px4fmu/fmu.cpp @@ -2684,14 +2684,6 @@ PX4FMU::gpio_set_function(uint32_t gpios, int function) } break; - - case GPIO_SET_OUTPUT_HIGH: - if (_gpio_tab[i].output) { - px4_arch_configgpio((_gpio_tab[i].output & ~(GPIO_OUTPUT_CLEAR)) | GPIO_OUTPUT_SET); - } - - break; - } } } @@ -2893,7 +2885,6 @@ PX4FMU::gpio_ioctl(struct file *filp, int cmd, unsigned long arg) break; case GPIO_SET_OUTPUT: - case GPIO_SET_OUTPUT_HIGH: case GPIO_SET_INPUT: ret = gpio_set_function(arg, cmd); break;