mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 18:53:34 +08:00
Correct board-config PIN1/PIN0 typo in fmu-v5/src/board_config.h.
This commit is contained in:
@@ -351,8 +351,8 @@
|
|||||||
* The GPIO will be set as input while not armed HW will have external HW Pull UP.
|
* The GPIO will be set as input while not armed HW will have external HW Pull UP.
|
||||||
* While armed it shall be configured at a GPIO OUT set LOW
|
* While armed it shall be configured at a GPIO OUT set LOW
|
||||||
*/
|
*/
|
||||||
#define GPIO_nARMED_INIT /* PI0 */ (GPIO_INPUT|GPIO_PULLUP|GPIO_PORTI|GPIO_PIN1)
|
#define GPIO_nARMED_INIT /* PI0 */ (GPIO_INPUT|GPIO_PULLUP|GPIO_PORTI|GPIO_PIN0)
|
||||||
#define GPIO_nARMED /* PI0 */ (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_2MHz|GPIO_OUTPUT_CLEAR|GPIO_PORTI|GPIO_PIN1)
|
#define GPIO_nARMED /* PI0 */ (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_2MHz|GPIO_OUTPUT_CLEAR|GPIO_PORTI|GPIO_PIN0)
|
||||||
|
|
||||||
#define BOARD_INDICATE_ARMED_STATE(on_armed) px4_arch_configgpio((on_armed) ? GPIO_nARMED : GPIO_nARMED_INIT)
|
#define BOARD_INDICATE_ARMED_STATE(on_armed) px4_arch_configgpio((on_armed) ? GPIO_nARMED : GPIO_nARMED_INIT)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user