From e55ceefd7c8fe8d0bc7cc2c9537d1038571c9994 Mon Sep 17 00:00:00 2001 From: Richard Li Date: Thu, 8 Aug 2024 13:05:31 +0800 Subject: [PATCH] Fixed build errors of other targets --- radio/src/targets/pl18/board.cpp | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/radio/src/targets/pl18/board.cpp b/radio/src/targets/pl18/board.cpp index 031fda2d19a..276418ae8ba 100644 --- a/radio/src/targets/pl18/board.cpp +++ b/radio/src/targets/pl18/board.cpp @@ -21,16 +21,7 @@ #include "stm32_adc.h" #include "stm32_gpio.h" - -#include "stm32_gpio_driver.h" - -#if defined(LED_STRIP_GPIO) - #include "stm32_ws2812.h" - #include "boards/generic_stm32/rgb_leds.h" -#endif - -#include "board.h" -#include "boards/generic_stm32/module_ports.h" +#include "stm32_ws2812.h" #include "hal/adc_driver.h" #include "hal/trainer_driver.h" @@ -41,6 +32,10 @@ #include "hal/gpio.h" #include "hal/rotary_encoder.h" +#include "board.h" +#include "boards/generic_stm32/module_ports.h" +#include "boards/generic_stm32/rgb_leds.h" + #include "globals.h" #include "sdcard.h" #include "touch.h"