Browse Source

AP_Notify: don't define devices for minlure

It still doesn't have a notify device.
mission-4.1.18
Lucas De Marchi 10 years ago committed by Andrew Tridgell
parent
commit
f915d2ff6f
  1. 2
      libraries/AP_Notify/AP_Notify.cpp

2
libraries/AP_Notify/AP_Notify.cpp

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

Loading…
Cancel
Save