FreeCalypso > hg > fc-tourmaline
diff src/cs/drivers/drv_app/uart/uartfax.c @ 53:a8c8a5521073
uartfax.c: sync with Magnetite & Selenite (Tango RI output)
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 20 Oct 2020 02:16:15 +0000 |
parents | 4e78acac3d88 |
children | aee006f1d275 |
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/uart/uartfax.c Mon Oct 19 05:27:40 2020 +0000 +++ b/src/cs/drivers/drv_app/uart/uartfax.c Tue Oct 20 02:16:15 2020 +0000 @@ -4875,7 +4875,22 @@ } #endif /* BOARD 8 or 9 or 40 or 41 or CHIPSET 12 */ - + +#ifdef CONFIG_TANGO_MODEM + + if (mask & (1 << RI) && AI_Tango_pinmux[0] == 0x83) { + + if (state & (1 << RI)) { + /* Turn on RI */ + AI_ResetBit(1); + } else { + /* Turn off RI */ + AI_SetBit(1); + } + } + +#endif /* Tango modem */ + if ((mask & (1 << X)) && (uart->flow_control_mode != fc_none)) {