delete unused GPIO_GET

This commit is contained in:
Daniel Agar
2017-12-14 12:00:14 -05:00
parent 65f9005bc6
commit ff6928fb63
3 changed files with 0 additions and 11 deletions
-3
View File
@@ -89,9 +89,6 @@
/** clear the GPIOs in (arg) */
#define GPIO_CLEAR GPIOC(11)
/** read all the GPIOs and return their values in *(uint32_t *)arg */
#define GPIO_GET GPIOC(12)
#define GPIO_SENSOR_RAIL_RESET GPIOC(13)
#define GPIO_PERIPHERAL_RAIL_RESET GPIOC(14)
-4
View File
@@ -2928,10 +2928,6 @@ PX4FMU::gpio_ioctl(struct file *filp, int cmd, unsigned long arg)
ret = gpio_write(arg, cmd);
break;
case GPIO_GET:
ret = gpio_read((uint32_t *)arg);
break;
default:
ret = -ENOTTY;
}
-4
View File
@@ -2746,10 +2746,6 @@ PX4IO::ioctl(file *filep, int cmd, unsigned long arg)
ret = -EINVAL;
break;
case GPIO_GET:
ret = -EINVAL;
break;
case MIXERIOCGETOUTPUTCOUNT:
*(unsigned *)arg = _max_actuators;
break;