mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 16:51:16 +08:00
gpio: added SET_OUTPUT ioctls
This commit is contained in:
1 parent
76c2c9a46d
commit
9c1a02d673
1 file changed
+6
@@ -194,4 +194,10 @@
|
||||
|
||||
#define GPIO_PERIPHERAL_RAIL_RESET GPIOC(14)
|
||||
|
||||
/** configure the board GPIOs in (arg) as outputs, initially low */
|
||||
#define GPIO_SET_OUTPUT_LOW GPIOC(15)
|
||||
|
||||
/** configure the board GPIOs in (arg) as outputs, initially high */
|
||||
#define GPIO_SET_OUTPUT_HIGH GPIOC(16)
|
||||
|
||||
#endif /* _DRV_GPIO_H */
|
||||
Reference in new issue
Block a user