mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 19:32:36 +08:00
delete unused GPIO_PERIPHERAL_RAIL_RESET
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user