1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Correct rx channel min/max pulse checking so that it is inclusive to

match the documentation.  Add first unit tests for code in rx.c.
This commit is contained in:
Dominic Clifton 2015-04-19 13:22:32 +01:00
parent 20a421c4be
commit fbc3a8e1eb
8 changed files with 219 additions and 8 deletions

View file

@ -27,3 +27,21 @@
#define SERIAL_PORT_COUNT 4
#define MAX_SIMULTANEOUS_ADJUSTMENT_COUNT 6
typedef enum
{
Mode_TEST = 0x0,
} GPIO_Mode;
typedef struct
{
void* test;
} GPIO_TypeDef;
typedef struct
{
void* test;
} TIM_TypeDef;
typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState;