chore(radio): cleanup -Wundef compiler warnings (#4853)
This commit is contained in:
@@ -125,6 +125,7 @@ enum CurveType {
|
|||||||
#define LEN_MODEL_NAME 10
|
#define LEN_MODEL_NAME 10
|
||||||
#define LEN_TIMER_NAME 3
|
#define LEN_TIMER_NAME 3
|
||||||
#define LEN_FLIGHT_MODE_NAME 6
|
#define LEN_FLIGHT_MODE_NAME 6
|
||||||
|
#define LEN_BITMAP_NAME 0
|
||||||
#define LEN_EXPOMIX_NAME 6
|
#define LEN_EXPOMIX_NAME 6
|
||||||
#define LEN_CHANNEL_NAME 4
|
#define LEN_CHANNEL_NAME 4
|
||||||
#define LEN_INPUT_NAME 3
|
#define LEN_INPUT_NAME 3
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ extern "C" {
|
|||||||
#define STM32_HAL_LEGACY
|
#define STM32_HAL_LEGACY
|
||||||
|
|
||||||
#if defined(STM32F4)
|
#if defined(STM32F4)
|
||||||
|
#define USE_RTOS 0U
|
||||||
#include "STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_bus.h"
|
#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_dma2d.h"
|
||||||
#include "STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.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_iwdg.h"
|
||||||
#include "STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usb.h"
|
#include "STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usb.h"
|
||||||
#elif defined(STM32F2)
|
#elif defined(STM32F2)
|
||||||
|
#define USE_RTOS 0U
|
||||||
#include "STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_bus.h"
|
#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_gpio.h"
|
||||||
#include "STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_tim.h"
|
#include "STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_tim.h"
|
||||||
|
|||||||
@@ -20,3 +20,4 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define MASS_STORAGE_BUFFER_SIZE 512U
|
#define MASS_STORAGE_BUFFER_SIZE 512U
|
||||||
|
#define USBD_CLASS_BOS_ENABLED 0
|
||||||
|
|||||||
Reference in New Issue
Block a user