Merge pull request #3010 from AndersHoglund/fix_serial_port_count

Fix SERIAL_PORT_COUNT on ANYFCM7 and NUCLEOF722. Compiler warning.
This commit is contained in:
Martin Budden 2017-05-03 17:19:47 +01:00 committed by GitHub
commit 68a1307909
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@
#define USE_SOFTSERIAL1
#define USE_SOFTSERIAL2
#define SERIAL_PORT_COUNT 5 //VCP, USART1, USART2, USART3, UART4, UART5, USART6, USART7, USART8, SOFTSERIAL x 2
#define SERIAL_PORT_COUNT 9 //VCP, USART1, USART2, USART3, UART4, UART5, USART6, SOFTSERIAL x 2
#define USE_SPI
#define USE_SPI_DEVICE_1

View File

@ -93,7 +93,7 @@
#define USE_SOFTSERIAL1
#define USE_SOFTSERIAL2
#define SERIAL_PORT_COUNT 4 //VCP, USART2, USART3, UART4, UART5, USART6, USART7, USART8, SOFTSERIAL x 2
#define SERIAL_PORT_COUNT 6 //VCP, USART2, USART3, UART4,SOFTSERIAL x 2
#define USE_SPI
#define USE_SPI_DEVICE_1