1
0
Fork 0
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:
kensherman 2025-02-17 14:30:35 -06:00 committed by GitHub
parent 95b43ec175
commit 7789ecafe3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,