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) {