Fix led strip unit test compilation warning.
This commit is contained in:
parent
38d285889b
commit
e7620727ff
|
@ -24,11 +24,18 @@
|
||||||
#define TELEMETRY
|
#define TELEMETRY
|
||||||
#define LED_STRIP
|
#define LED_STRIP
|
||||||
#define USE_SERVOS
|
#define USE_SERVOS
|
||||||
|
#define TRANSPONDER
|
||||||
|
|
||||||
#define SERIAL_PORT_COUNT 4
|
#define SERIAL_PORT_COUNT 4
|
||||||
|
|
||||||
#define MAX_SIMULTANEOUS_ADJUSTMENT_COUNT 6
|
#define MAX_SIMULTANEOUS_ADJUSTMENT_COUNT 6
|
||||||
|
|
||||||
|
#define TARGET_BOARD_IDENTIFIER "TEST"
|
||||||
|
|
||||||
|
#define U_ID_0 0
|
||||||
|
#define U_ID_1 1
|
||||||
|
#define U_ID_2 2
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
Mode_TEST = 0x0,
|
Mode_TEST = 0x0,
|
||||||
|
@ -45,6 +52,18 @@ typedef struct
|
||||||
void* test;
|
void* test;
|
||||||
} TIM_TypeDef;
|
} TIM_TypeDef;
|
||||||
|
|
||||||
|
typedef enum {RESET = 0, SET = !RESET} FlagStatus, ITStatus;
|
||||||
typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState;
|
typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState;
|
||||||
|
|
||||||
typedef enum {TEST_IRQ = 0 } IRQn_Type;
|
typedef enum {TEST_IRQ = 0 } IRQn_Type;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
void* test;
|
||||||
|
} DMA_Channel_TypeDef;
|
||||||
|
|
||||||
|
uint8_t DMA_GetFlagStatus(void *);
|
||||||
|
void DMA_Cmd(DMA_Channel_TypeDef*, FunctionalState );
|
||||||
|
void DMA_ClearFlag(uint32_t);
|
||||||
|
|
||||||
|
#define WS2811_DMA_TC_FLAG (void *)1
|
||||||
|
#define WS2811_DMA_HANDLER_IDENTIFER 0
|
||||||
|
|
Loading…
Reference in New Issue