FreeCalypso > hg > freecalypso-tools
diff libserial-orig/baudtab.c @ 654:39b39b546824
libserial-orig: same xram_records baudtab addition as in libserial-newlnx
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 02 Mar 2020 23:24:43 +0000 |
parents | cb1ba53a1106 |
children |
line wrap: on
line diff
--- a/libserial-orig/baudtab.c Mon Mar 02 21:28:34 2020 +0000 +++ b/libserial-orig/baudtab.c Mon Mar 02 23:24:43 2020 +0000 @@ -12,18 +12,18 @@ struct baudrate baud_rate_table[] = { /* the first listed rate will be our default */ - {"115200", B115200, 0}, - {"57600", B57600, 1}, - {"38400", B38400, 2}, - {"19200", B19200, 4}, + {"115200", B115200, 0, 100}, + {"57600", B57600, 1, 100}, + {"38400", B38400, 2, 100}, + {"19200", B19200, 4, 50}, /* * Non-standard high baud rates remapped by CP2102 EEPROM programming * or by a hacky patch to the ftdi_sio Linux kernel driver to work * with FTDI adapters. */ - {"812500", B921600, -1}, - {"406250", B460800, -1}, - {"203125", B230400, -1}, + {"812500", B921600, -1, 1000}, + {"406250", B460800, -1, 500}, + {"203125", B230400, -1, 250}, /* table search terminator */ {NULL, B0, -1}, };