# HG changeset patch
# User Mychaela Falconia <falcon@freecalypso.org>
# Date 1603160175 0
# Node ID a8c8a5521073c87bf3fdd9d6e47cccf4d3bef938
# Parent  6d77f6e1670ab4907dad60db101220e12119e9d2
uartfax.c: sync with Magnetite & Selenite (Tango RI output)

diff -r 6d77f6e1670a -r a8c8a5521073 src/cs/drivers/drv_app/uart/uartfax.c
--- 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)) {