AP_Notify: Add support for Erle-Brain 2

This commit is contained in:
Víctor Mayoral Vilches 2015-11-01 12:28:17 +01:00 committed by Andrew Tridgell
parent b54b8aa8af
commit 4a2fe12652
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ struct AP_Notify::notify_events_type AP_Notify::events;
NotifyDevice *AP_Notify::_devices[] = {&toshibaled, &tonealarm};
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_MINLURE
NotifyDevice *AP_Notify::_devices[0];
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLEBRAIN2
AP_BoardLED boardled;
NotifyDevice *AP_Notify::_devices[] = {&boardled};
#else
AP_BoardLED boardled;
ToshibaLED_I2C toshibaled;