delete unused GPIO_SET_ALT_2

This commit is contained in:
Daniel Agar
2017-12-31 09:47:51 -05:00
parent c6760cc6fb
commit 17e58dc08b
2 changed files with 0 additions and 4 deletions
-3
View File
@@ -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 second alternate function (if supported) */
#define GPIO_SET_ALT_2 GPIOC(4)
/** configure the board GPIO (arg) for the third alternate function (if supported) */
#define GPIO_SET_ALT_3 GPIOC(5)
-1
View File
@@ -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_2:
case GPIO_SET_ALT_3:
case GPIO_SET_ALT_4:
ret = -EINVAL;