mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 19:32:36 +08:00
delete unused GPIO_SENSOR_RAIL_RESET
This commit is contained in:
@@ -77,8 +77,6 @@
|
||||
/** clear the GPIOs in (arg) */
|
||||
#define GPIO_CLEAR GPIOC(11)
|
||||
|
||||
#define GPIO_SENSOR_RAIL_RESET GPIOC(13)
|
||||
|
||||
#define GPIO_PERIPHERAL_RAIL_RESET GPIOC(14)
|
||||
|
||||
/** configure the board GPIOs in (arg) as outputs, initially low */
|
||||
|
||||
@@ -2895,10 +2895,6 @@ PX4FMU::gpio_ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
ret = gpio_reset();
|
||||
break;
|
||||
|
||||
case GPIO_SENSOR_RAIL_RESET:
|
||||
sensor_reset(arg);
|
||||
break;
|
||||
|
||||
case GPIO_PERIPHERAL_RAIL_RESET:
|
||||
peripheral_reset(arg);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user