mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 04:06:33 +08:00
delete unused GPIO_SENSOR_RAIL_RESET
This commit is contained in:
@@ -77,8 +77,6 @@
|
|||||||
/** clear the GPIOs in (arg) */
|
/** clear the GPIOs in (arg) */
|
||||||
#define GPIO_CLEAR GPIOC(11)
|
#define GPIO_CLEAR GPIOC(11)
|
||||||
|
|
||||||
#define GPIO_SENSOR_RAIL_RESET GPIOC(13)
|
|
||||||
|
|
||||||
#define GPIO_PERIPHERAL_RAIL_RESET GPIOC(14)
|
#define GPIO_PERIPHERAL_RAIL_RESET GPIOC(14)
|
||||||
|
|
||||||
/** configure the board GPIOs in (arg) as outputs, initially low */
|
/** 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();
|
ret = gpio_reset();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GPIO_SENSOR_RAIL_RESET:
|
|
||||||
sensor_reset(arg);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case GPIO_PERIPHERAL_RAIL_RESET:
|
case GPIO_PERIPHERAL_RAIL_RESET:
|
||||||
peripheral_reset(arg);
|
peripheral_reset(arg);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user