From 7789ecafe3aa58c29a47da8f023bc891788cd468 Mon Sep 17 00:00:00 2001 From: kensherman <17434103+kensherman@users.noreply.github.com> Date: Mon, 17 Feb 2025 14:30:35 -0600 Subject: [PATCH] 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 * reset src/config --------- Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Co-authored-by: Mark Haslinghuis --- src/main/msp/msp_serial.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/msp/msp_serial.h b/src/main/msp/msp_serial.h index a080408fc7..315e003060 100644 --- a/src/main/msp/msp_serial.h +++ b/src/main/msp/msp_serial.h @@ -27,7 +27,9 @@ #include "msp/msp.h" // 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 +#endif typedef enum { PORT_IDLE,