From 32eb842f68ab0660dfd2122d362260875fbcc5cc Mon Sep 17 00:00:00 2001 From: Pawel Spychalski Date: Mon, 2 Jan 2017 10:50:49 +0100 Subject: [PATCH 1/2] Number of allowed MSP ports increased to 3 --- src/main/msp/msp_serial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/msp/msp_serial.h b/src/main/msp/msp_serial.h index f6e2954a24..c0304b5b8c 100644 --- a/src/main/msp/msp_serial.h +++ b/src/main/msp/msp_serial.h @@ -20,7 +20,7 @@ #include "msp/msp.h" // Each MSP port requires state and a receive buffer, revisit this default if someone needs more than 2 MSP ports. -#define MAX_MSP_PORT_COUNT 2 +#define MAX_MSP_PORT_COUNT 3 typedef enum { MSP_IDLE, From b99cff9fa023bd69c9b04fc25302bb1e06ef7e72 Mon Sep 17 00:00:00 2001 From: Pawel Spychalski Date: Mon, 2 Jan 2017 11:22:18 +0100 Subject: [PATCH 2/2] Comment update --- src/main/msp/msp_serial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/msp/msp_serial.h b/src/main/msp/msp_serial.h index c0304b5b8c..c6faf448df 100644 --- a/src/main/msp/msp_serial.h +++ b/src/main/msp/msp_serial.h @@ -19,7 +19,7 @@ #include "msp/msp.h" -// Each MSP port requires state and a receive buffer, revisit this default if someone needs more than 2 MSP ports. +// Each MSP port requires state and a receive buffer, revisit this default if someone needs more than 3 MSP ports. #define MAX_MSP_PORT_COUNT 3 typedef enum {