[svn-commits] tzafrir: trunk r1379 - /trunk/xpp/card_fxo.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sat Sep 2 14:15:41 MST 2006


Author: tzafrir
Date: Sat Sep  2 16:15:40 2006
New Revision: 1379

URL: http://svn.digium.com/view/zaptel?rev=1379&view=rev
Log:
Show in /proc/xpp/XBUS-?/XPD-?/fxo_info also the noring_thresh[]

Modified:
    trunk/xpp/card_fxo.c

Modified: trunk/xpp/card_fxo.c
URL: http://svn.digium.com/view/zaptel/trunk/xpp/card_fxo.c?rev=1379&r1=1378&r2=1379&view=diff
==============================================================================
--- trunk/xpp/card_fxo.c (original)
+++ trunk/xpp/card_fxo.c Sat Sep  2 16:15:40 2006
@@ -846,6 +846,11 @@
 	for_each_line(xpd, i) {
 		if(!IS_SET(xpd->digital_outputs, i) && !IS_SET(xpd->digital_inputs, i))
 			len += sprintf(page + len, "%d ", priv->ring_thresh[i]);
+	}
+	len += sprintf(page + len, "\n\t%-17s: ", "noring_thresh");
+	for_each_line(xpd, i) {
+		if(!IS_SET(xpd->digital_outputs, i) && !IS_SET(xpd->digital_inputs, i))
+			len += sprintf(page + len, "%d ", priv->noring_thresh[i]);
 	}
 #endif
 	len += sprintf(page + len, "\n\t%-17s: ", "battery");



More information about the svn-commits mailing list