FreeCalypso > hg > freecalypso-tools
diff libserial-newlnx/baudtab.c @ 651:6bb41b4d39ed
fc-xram number of records per batch made baudrate-dependent
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 02 Mar 2020 03:39:46 +0000 |
parents | ab8410d06ca7 |
children |
line wrap: on
line diff
--- a/libserial-newlnx/baudtab.c Mon Mar 02 03:21:41 2020 +0000 +++ b/libserial-newlnx/baudtab.c Mon Mar 02 03:39:46 2020 +0000 @@ -12,16 +12,16 @@ struct baudrate baud_rate_table[] = { /* the first listed rate will be our default */ - {"115200", B115200, 0, 0}, - {"57600", B57600, 0, 1}, - {"38400", B38400, 0, 2}, - {"19200", B19200, 0, 4}, + {"115200", B115200, 0, 0, 100}, + {"57600", B57600, 0, 1, 100}, + {"38400", B38400, 0, 2, 100}, + {"19200", B19200, 0, 4, 50}, /* Non-standard high baud rates */ - {"812500", BOTHER, 812500, -1}, - {"406250", BOTHER, 406250, -1}, - {"203125", BOTHER, 203125, -1}, + {"812500", BOTHER, 812500, -1, 1000}, + {"406250", BOTHER, 406250, -1, 500}, + {"203125", BOTHER, 203125, -1, 250}, /* table search terminator */ - {NULL, B0, 0, -1}, + {NULL, B0, 0, -1, 0}, }; struct baudrate *