AP_Notify: don't define devices for minlure

It still doesn't have a notify device.
This commit is contained in:
Lucas De Marchi 2015-08-11 18:48:48 -03:00 committed by Andrew Tridgell
parent f72a5614d5
commit f915d2ff6f
1 changed files with 2 additions and 0 deletions

View File

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