AP_HAL: add simulator for 1-LED boards

This commit is contained in:
Peter Barker 2024-07-11 22:25:32 +10:00 committed by Andrew Tridgell
parent 647048f703
commit fd80d331cb

View File

@ -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