AP_Notify: enable PixRacer onboard LED

Enable PixRacer onboard LED to show status of flight controller
This commit is contained in:
iseries1 2017-01-26 21:12:36 +09:00 committed by Randy Mackay
parent 8041a7f183
commit 4467a2cd16

View File

@ -16,6 +16,7 @@
#include "AP_Notify.h"
#include "AP_BoardLED.h"
#include "PixRacerLED.h"
#include "Buzzer.h"
#include "Display.h"
#include "ExternalLED.h"
@ -79,7 +80,11 @@ struct AP_Notify::notify_flags_and_values_type AP_Notify::flags;
struct AP_Notify::notify_events_type AP_Notify::events;
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_PX4_V4
PixRacerLED boardled;
#else
AP_BoardLED boardled;
#endif
ToshibaLED_PX4 toshibaled;
Display display;