Skip to content

Commit 7789eca

Browse files
kenshermannerdCopterhaslinghuis
authored
increasing number of msp ports (betaflight#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 <[email protected]> * reset src/config --------- Co-authored-by: nerdCopter <[email protected]> Co-authored-by: Mark Haslinghuis <[email protected]>
1 parent 95b43ec commit 7789eca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/msp/msp_serial.h

+2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
#include "msp/msp.h"
2828

2929
// Each MSP port requires state and a receive buffer, revisit this default if someone needs more than 3 MSP ports.
30+
#ifndef MAX_MSP_PORT_COUNT
3031
#define MAX_MSP_PORT_COUNT 3
32+
#endif
3133

3234
typedef enum {
3335
PORT_IDLE,

0 commit comments

Comments
 (0)