chore(radio): cleanup -Wundef compiler warnings (#4853)

This commit is contained in:
ThomasKuehne
2024-04-15 09:32:57 +10:00
committed by GitHub
parent 8225fb21c5
commit 60119ae4fa
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -125,6 +125,7 @@ enum CurveType {
#define LEN_MODEL_NAME 10
#define LEN_TIMER_NAME 3
#define LEN_FLIGHT_MODE_NAME 6
#define LEN_BITMAP_NAME 0
#define LEN_EXPOMIX_NAME 6
#define LEN_CHANNEL_NAME 4
#define LEN_INPUT_NAME 3
@@ -33,6 +33,7 @@ extern "C" {
#define STM32_HAL_LEGACY
#if defined(STM32F4)
#define USE_RTOS 0U
#include "STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_bus.h"
#include "STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_dma2d.h"
#include "STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h"
@@ -47,6 +48,7 @@ extern "C" {
#include "STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_iwdg.h"
#include "STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usb.h"
#elif defined(STM32F2)
#define USE_RTOS 0U
#include "STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_bus.h"
#include "STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_gpio.h"
#include "STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_tim.h"
@@ -20,3 +20,4 @@
*/
#define MASS_STORAGE_BUFFER_SIZE 512U
#define USBD_CLASS_BOS_ENABLED 0