delete unused GPIO_PERIPHERAL_RAIL_RESET

This commit is contained in:
Daniel Agar
2017-12-14 12:21:26 -05:00
parent d61e0651ab
commit b8b9f15a34
2 changed files with 0 additions and 6 deletions
-2
View File
@@ -77,6 +77,4 @@
/** clear the GPIOs in (arg) */
#define GPIO_CLEAR GPIOC(11)
#define GPIO_PERIPHERAL_RAIL_RESET GPIOC(14)
#endif /* _DRV_GPIO_H */
-4
View File
@@ -2880,10 +2880,6 @@ PX4FMU::gpio_ioctl(struct file *filp, int cmd, unsigned long arg)
ret = gpio_reset();
break;
case GPIO_PERIPHERAL_RAIL_RESET:
peripheral_reset(arg);
break;
case GPIO_SET_OUTPUT:
case GPIO_SET_INPUT:
ret = gpio_set_function(arg, cmd);