FreeCalypso > hg > fc-tourmaline
comparison src/cs/drivers/drv_app/uart/uartfax.c @ 74:03793f41f9bc
uartfax.c: support RI output on GTM900
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 24 Oct 2020 09:12:01 +0000 |
parents | aee006f1d275 |
children |
comparison
equal
deleted
inserted
replaced
73:aee006f1d275 | 74:03793f41f9bc |
---|---|
4889 } | 4889 } |
4890 } | 4890 } |
4891 | 4891 |
4892 #endif /* Tango modem */ | 4892 #endif /* Tango modem */ |
4893 | 4893 |
4894 #ifdef CONFIG_TARGET_GTM900 | |
4895 | |
4896 if (mask & (1 << RI)) { | |
4897 | |
4898 if (state & (1 << RI)) { | |
4899 /* Turn on RI */ | |
4900 AI_ResetBit(0); | |
4901 } else { | |
4902 /* Turn off RI */ | |
4903 AI_SetBit(0); | |
4904 } | |
4905 } | |
4906 | |
4907 #endif /* GTM900 modem */ | |
4908 | |
4894 if ((mask & (1 << X)) && | 4909 if ((mask & (1 << X)) && |
4895 (uart->flow_control_mode != fc_none)) { | 4910 (uart->flow_control_mode != fc_none)) { |
4896 | 4911 |
4897 if (state & (1 << X)) { | 4912 if (state & (1 << X)) { |
4898 | 4913 |