From d73fc4c0b2284f97c7084860d644315b4578ba73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mayoral=20Vilches?= Date: Tue, 5 Jan 2016 11:37:13 +0100 Subject: [PATCH] AP_Notify: Add PXFmini support --- libraries/AP_Notify/AP_Notify.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_Notify/AP_Notify.cpp b/libraries/AP_Notify/AP_Notify.cpp index eef610d5df..ca68f17ad2 100644 --- a/libraries/AP_Notify/AP_Notify.cpp +++ b/libraries/AP_Notify/AP_Notify.cpp @@ -74,7 +74,8 @@ 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 + #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLEBRAIN2 || \ + CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_PXFMINI AP_BoardLED boardled; NotifyDevice *AP_Notify::_devices[] = {&boardled}; #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BH