From db5e932f489893f3f83af90d93f2bc000a934ef3 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Thu, 14 Dec 2017 12:18:04 -0500 Subject: [PATCH] delete unused GPIO_SET_ALT_3 --- src/drivers/drv_gpio.h | 3 --- src/drivers/px4fmu/fmu.cpp | 1 - 2 files changed, 4 deletions(-) diff --git a/src/drivers/drv_gpio.h b/src/drivers/drv_gpio.h index 3243bed3a1..a54b377381 100644 --- a/src/drivers/drv_gpio.h +++ b/src/drivers/drv_gpio.h @@ -71,9 +71,6 @@ /** configure the board GPIOs in (arg) as inputs */ #define GPIO_SET_INPUT GPIOC(2) -/** configure the board GPIO (arg) for the third alternate function (if supported) */ -#define GPIO_SET_ALT_3 GPIOC(5) - /** configure the board GPIO (arg) for the fourth alternate function (if supported) */ #define GPIO_SET_ALT_4 GPIOC(6) diff --git a/src/drivers/px4fmu/fmu.cpp b/src/drivers/px4fmu/fmu.cpp index e9a0e692df..a1c11d2b9e 100644 --- a/src/drivers/px4fmu/fmu.cpp +++ b/src/drivers/px4fmu/fmu.cpp @@ -2910,7 +2910,6 @@ PX4FMU::gpio_ioctl(struct file *filp, int cmd, unsigned long arg) ret = gpio_set_function(arg, cmd); break; - case GPIO_SET_ALT_3: case GPIO_SET_ALT_4: ret = -EINVAL; break;