From 98db17e9a1a365a5be1f77b39871c5af6901f333 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 27 Jan 2017 12:57:20 +0900 Subject: [PATCH] AP_Notify: example sketch uses ToshibaLED_I2C driver --- .../AP_Notify/examples/ToshibaLED_test/ToshibaLED_test.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libraries/AP_Notify/examples/ToshibaLED_test/ToshibaLED_test.cpp b/libraries/AP_Notify/examples/ToshibaLED_test/ToshibaLED_test.cpp index 2ceeb974eb..8f7ce79d6c 100644 --- a/libraries/AP_Notify/examples/ToshibaLED_test/ToshibaLED_test.cpp +++ b/libraries/AP_Notify/examples/ToshibaLED_test/ToshibaLED_test.cpp @@ -1,15 +1,10 @@ #include #include +#include const AP_HAL::HAL& hal = AP_HAL::get_HAL(); -#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 -#include -static ToshibaLED_PX4 toshiba_led; -#else -#include static ToshibaLED_I2C toshiba_led; -#endif void setup(void) {