Browse Source

AP_Notify: Add support for Erle-Brain 2

mission-4.1.18
Víctor Mayoral Vilches 9 years ago committed by Andrew Tridgell
parent
commit
4a2fe12652
  1. 3
      libraries/AP_Notify/AP_Notify.cpp

3
libraries/AP_Notify/AP_Notify.cpp

@ -55,6 +55,9 @@ struct AP_Notify::notify_events_type AP_Notify::events; @@ -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;

Loading…
Cancel
Save