Added option to configure Serial Repeater baud rate so end user can set to 115,200 for high speed Nextion display

This commit is contained in:
John Tetreault 2024-03-10 14:19:21 -04:00
parent 029e6df4b9
commit 28e564738e
2 changed files with 8 additions and 1 deletions

View file

@ -896,7 +896,11 @@ void CSerialPort::start()
beginInt(1U, SERIAL_SPEED);
#if defined(SERIAL_REPEATER)
beginInt(3U, 9600);
#if defined(SERIAL_REPEATER_BAUD_RATE)
beginInt(3U, SERIAL_REPEATER_BAUD_RATE);
#else
beginInt(3U, 9600);
#endif
#endif
#if defined(I2C_REPEATER)
beginInt(10U, 9600);