From 1918b0770563094402c60a0fa1524af1a211d841 Mon Sep 17 00:00:00 2001 From: HeBin Date: Mon, 30 Oct 2017 17:03:04 +0800 Subject: [PATCH] AP_Notify: add Robsense PhenixPro Devkit Board support --- libraries/AP_Notify/AP_Notify.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_Notify/AP_Notify.cpp b/libraries/AP_Notify/AP_Notify.cpp index 6ed9a3da46..3101c6e28a 100644 --- a/libraries/AP_Notify/AP_Notify.cpp +++ b/libraries/AP_Notify/AP_Notify.cpp @@ -194,6 +194,9 @@ void AP_Notify::add_backends(void) ADD_BACKEND(new DiscoLED()); ADD_BACKEND(new ToneAlarm_Linux()); + #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_RST_ZYNQ + ADD_BACKEND(new ToshibaLED_I2C(TOSHIBA_LED_I2C_BUS_EXTERNAL)); + #else // other linux ADD_BACKEND(new AP_BoardLED()); ADD_BACKEND(new ToshibaLED_I2C(TOSHIBA_LED_I2C_BUS_EXTERNAL));