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:
parent
20a421c4be
commit
fbc3a8e1eb
8 changed files with 219 additions and 8 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue