mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: add HAL_HAVE_SAFETY_SWITCH
This commit is contained in:
parent
ef1672befc
commit
7ca9c7a443
|
@ -10,3 +10,4 @@
|
|||
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_NONE
|
||||
|
||||
#define HAL_HAVE_BOARD_VOLTAGE 1
|
||||
#define HAL_HAVE_SAFETY_SWITCH 1
|
||||
|
|
|
@ -350,3 +350,4 @@
|
|||
#endif
|
||||
|
||||
#define HAL_HAVE_BOARD_VOLTAGE 1
|
||||
#define HAL_HAVE_SAFETY_SWITCH 1
|
||||
|
|
|
@ -89,7 +89,9 @@
|
|||
#define HAL_COMPASS_IST8310_I2C_ADDR 0x0E
|
||||
#define HAL_COMPASS_IST8310_I2C_BUS 1
|
||||
#define HAL_SERIAL0_BAUD_DEFAULT 460800
|
||||
|
||||
#define HAL_HAVE_BOARD_VOLTAGE 0
|
||||
#define HAL_HAVE_SAFETY_SWITCH 0
|
||||
#define HAL_PX4_HAVE_MTD_SUPPORT 0
|
||||
#define HAL_PX4_HAVE_PX4IO 0
|
||||
#endif
|
||||
|
@ -110,3 +112,7 @@
|
|||
#ifndef HAL_PX4_HAVE_PX4IO
|
||||
#define HAL_PX4_HAVE_PX4IO 1
|
||||
#endif
|
||||
|
||||
#ifndef HAL_HAVE_SAFETY_SWITCH
|
||||
#define HAL_HAVE_SAFETY_SWITCH 1
|
||||
#endif
|
||||
|
|
|
@ -14,3 +14,4 @@
|
|||
#define HAL_SERIAL0_BAUD_DEFAULT 115200
|
||||
|
||||
#define HAL_HAVE_BOARD_VOLTAGE 1
|
||||
#define HAL_HAVE_SAFETY_SWITCH 1
|
||||
|
|
|
@ -19,3 +19,4 @@
|
|||
#define HAL_GPIO_LED_OFF HIGH
|
||||
|
||||
#define HAL_HAVE_BOARD_VOLTAGE 1
|
||||
#define HAL_HAVE_SAFETY_SWITCH 1
|
||||
|
|
|
@ -45,4 +45,5 @@
|
|||
#define EXTERNAL_LED_MOTOR2 31 // Motor2 LED - AN12
|
||||
|
||||
#define HAL_HAVE_BOARD_VOLTAGE 0
|
||||
#define HAL_HAVE_SAFETY_SWITCH 1
|
||||
#define HAL_PX4_HAVE_MTD_SUPPORT 1
|
||||
|
|
Loading…
Reference in New Issue