diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-04 08:17:35 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-04 08:17:35 +0100 |
commit | acc3cc087f72609efa9d3450f640e2980fe1eb86 (patch) | |
tree | 69e1e9f929ad58784e1fd4ed521a73ce42532b42 /src/drivers/drv_gpio.h | |
parent | 881cf61553f1acce6054db635e0d1af11476eb3e (diff) | |
download | px4-firmware-acc3cc087f72609efa9d3450f640e2980fe1eb86.tar.gz px4-firmware-acc3cc087f72609efa9d3450f640e2980fe1eb86.tar.bz2 px4-firmware-acc3cc087f72609efa9d3450f640e2980fe1eb86.zip |
Added sensor rail reset IOCTL and command (fmu sensor_reset 10 resets for 10 ms)
Diffstat (limited to 'src/drivers/drv_gpio.h')
-rw-r--r-- | src/drivers/drv_gpio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/drv_gpio.h b/src/drivers/drv_gpio.h index 37af26d52..f60964c2b 100644 --- a/src/drivers/drv_gpio.h +++ b/src/drivers/drv_gpio.h @@ -46,7 +46,7 @@ /* * PX4FMU GPIO numbers. * - * For shared pins, alternate function 1 selects the non-GPIO mode + * For shared pins, alternate function 1 selects the non-GPIO mode * (USART2, CAN2, etc.) */ # define GPIO_EXT_1 (1<<0) /**< high-power GPIO 1 */ @@ -144,4 +144,6 @@ /** read all the GPIOs and return their values in *(uint32_t *)arg */ #define GPIO_GET GPIOC(12) +#define GPIO_SENSOR_RAIL_RESET GPIOC(13) + #endif /* _DRV_GPIO_H */
\ No newline at end of file |