From fd80d331cbb0e216a861eed1f35020de89fd5324 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 11 Jul 2024 22:25:32 +1000 Subject: [PATCH] AP_HAL: add simulator for 1-LED boards --- libraries/AP_HAL/board/sitl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL/board/sitl.h b/libraries/AP_HAL/board/sitl.h index a20951e0d0..0eae8e932a 100644 --- a/libraries/AP_HAL/board/sitl.h +++ b/libraries/AP_HAL/board/sitl.h @@ -48,6 +48,9 @@ #define AP_NOTIFY_GPIO_LED_RGB_GREEN_PIN 9 #define AP_NOTIFY_GPIO_LED_RGB_BLUE_PIN 10 +// #define AP_NOTIFY_GPIO_LED_1_ENABLED 1 +#define AP_NOTIFY_GPIO_LED_A_PIN 8 // these are set in SIM_PIN_MASK + #define HAL_HAVE_BOARD_VOLTAGE 1 #define HAL_HAVE_SERVO_VOLTAGE 1 #define HAL_HAVE_SAFETY_SWITCH 1