FreeCalypso > hg > fc-sim-tools
diff serial/atrmain.c @ 53:fbedb67d234f
serial: fix parity for inverse coding convention
Important note: it is my (Mother Mychaela's) understanding that
SIM cards with inverse coding convention are extremely rare,
and I have never seen such a card. Therefore, our support for
the inverse coding convention will likely remain forever untested.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 21 Mar 2021 20:46:09 +0000 |
parents | 8f505d413815 |
children |
line wrap: on
line diff
--- a/serial/atrmain.c Sun Mar 21 19:38:27 2021 +0000 +++ b/serial/atrmain.c Sun Mar 21 20:46:09 2021 +0000 @@ -18,7 +18,7 @@ } open_serial_port(argv[1]); parse_baud_spenh_arg(argv[2]); - set_serial_params(baud_base); + set_serial_params(baud_base, -1); set_serial_nonblock(0); serial_card_reset(); rc = collect_atr();