mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 03:20:00 +03:00
increasing number of msp ports (#14263)
* increasing number of msp ports * Adding custom define and bumping to 6 ports * reverting msp ports to allow to be bumped at build time * Update src/main/msp/msp_serial.h Co-authored-by: Mark Haslinghuis <mark@numloq.nl> * reset src/config --------- Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
This commit is contained in:
parent
95b43ec175
commit
7789ecafe3
1 changed files with 2 additions and 0 deletions
|
@ -27,7 +27,9 @@
|
||||||
#include "msp/msp.h"
|
#include "msp/msp.h"
|
||||||
|
|
||||||
// Each MSP port requires state and a receive buffer, revisit this default if someone needs more than 3 MSP ports.
|
// Each MSP port requires state and a receive buffer, revisit this default if someone needs more than 3 MSP ports.
|
||||||
|
#ifndef MAX_MSP_PORT_COUNT
|
||||||
#define MAX_MSP_PORT_COUNT 3
|
#define MAX_MSP_PORT_COUNT 3
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
PORT_IDLE,
|
PORT_IDLE,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue