Skip to content

Commit b0832ab

Browse files
cuav-chen2PilotGaea2001
authored andcommitted
hwdef: backport CUAV-7-Nano hwdef defines
1 parent fce0f52 commit b0832ab

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

  • libraries/AP_HAL_ChibiOS/hwdef/CUAV-7-Nano

libraries/AP_HAL_ChibiOS/hwdef/CUAV-7-Nano/hwdef.dat

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,12 @@ PE4 LED_GREEN OUTPUT GPIO(91) LOW
240240
PE5 LED_BLUE OUTPUT GPIO(92) LOW
241241

242242
# setup for "pixracer" RGB LEDs
243-
define AP_NOTIFY_GPIO_LED_RGB_RED_PIN 90
244-
define AP_NOTIFY_GPIO_LED_RGB_GREEN_PIN 91
245-
define AP_NOTIFY_GPIO_LED_RGB_BLUE_PIN 92
243+
define HAL_GPIO_A_LED_PIN 90
244+
define HAL_GPIO_B_LED_PIN 91
245+
define HAL_GPIO_C_LED_PIN 92
246+
define HAL_GPIO_LED_ON 0
246247

247-
define AP_NOTIFY_GPIO_LED_RGB_ENABLED 1
248+
define HAL_HAVE_PIXRACER_LED
248249

249250
# ID pins
250251
PG0 HW_VER_REV_DRIVE OUTPUT LOW

0 commit comments

Comments
 (0)