mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-28 10:43:58 -04:00
AP_HAL_ChibiOS_hwdef : Modify the LED on the SULILGH7-P1-P2 flight controller
This commit is contained in:
parent
8d427dd229
commit
1793c4c5f1
@ -240,14 +240,12 @@ PE3 LED_R1 OUTPUT OPENDRAIN HIGH GPIO(0)
|
||||
PE4 LED_G1 OUTPUT OPENDRAIN LOW GPIO(1)
|
||||
PE5 LED_B1 OUTPUT OPENDRAIN HIGH GPIO(2)
|
||||
|
||||
define HAL_GPIO_A_LED_PIN 0
|
||||
define HAL_GPIO_B_LED_PIN 1
|
||||
define HAL_GPIO_C_LED_PIN 2
|
||||
define AP_NOTIFY_GPIO_LED_RGB_RED_PIN 0
|
||||
define AP_NOTIFY_GPIO_LED_RGB_GREEN_PIN 1
|
||||
define AP_NOTIFY_GPIO_LED_RGB_BLUE_PIN 2
|
||||
|
||||
# use pixracer style 3-LED indicators
|
||||
define HAL_HAVE_PIXRACER_LED
|
||||
|
||||
define HAL_GPIO_LED_ON 0
|
||||
define AP_NOTIFY_GPIO_LED_RGB_ENABLED 1
|
||||
|
||||
# compass
|
||||
#define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||||
|
Loading…
Reference in New Issue
Block a user