g4klx / MMDVM

The firmware for the MMDVM (Multi-Mode Digital Voice Modem)
GNU General Public License v2.0
468 stars 189 forks source link

Serial Repeater seems to default to 9600 baud #335

Closed mytechguyri closed 6 months ago

mytechguyri commented 1 year ago

on rpt_hat build, serial repeater defaults to 9600 baud, making for a slow Nextion screen. MMDVMHost does not change it to a higher baud rate, even with display type set to 4 (ON7LDS L3 HS) and forcing the Nextion to 115,200 it simply doesn't communicate.

I took a wild guess and edited SerialPort.cpp and changed

if defined(SERIAL_REPEATER)

beginInt(3U, 9600);

to

if defined(SERIAL_REPEATER)

beginInt(3U, 115200);

re-compiled and installed... now my Nextion seems to be communicating at 115,200 as expected. Perhaps this could be a config option in Config.h

mytechguyri commented 6 months ago

Submitted PR with code change