AmendHub

Download:

jcs

/

subtext

/

amendments

/

579

serial: Use fallback rate of 9600 to match the default db rate


jcs made amendment 579 9 months ago
--- serial.c Mon Nov 27 19:43:22 2023 +++ serial.c Fri Jan 19 10:57:11 2024 @@ -166,10 +166,10 @@ serial_init(void) baud = baud57600; break; default: - logger_printf("[modem] Unsupported port speed %ld, using 19200", + logger_printf("[modem] Unsupported port speed %ld, using 9600", db->config.modem_speed); - db->config.modem_speed = 19200; - baud = baud19200; + db->config.modem_speed = 9600; + baud = baud9600; } if (strcmp(db->config.modem_parity, "7E1") == 0) {