1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 07:45:29 +03:00

Add back and refactor some unit tests.

Re-enabled:
 - BMP280
 - MS5166
 - Maths test cases
 - Serial IO

Refactored:
 - Scheduler

Tried to decouple the test from the actual tasks (in fc_tashs.h/c) in
the majority of logical tests.
This commit is contained in:
Dan Nixon 2017-06-11 18:19:54 +01:00
parent 99b11eb1b1
commit ffeddc958c
10 changed files with 238 additions and 260 deletions

View file

@ -85,6 +85,11 @@ typedef struct
void* test;
} USART_TypeDef;
typedef struct
{
void *test;
} I2C_TypeDef;
#define WS2811_DMA_TC_FLAG (void *)1
#define WS2811_DMA_HANDLER_IDENTIFER 0