[Asterisk-cvs] zaptel wcfxs.c,1.22,1.23

markster at lists.digium.com markster at lists.digium.com
Fri Oct 3 14:21:10 CDT 2003


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv18969

Modified Files:
	wcfxs.c 
Log Message:
Print value of VBAT on failure


Index: wcfxs.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wcfxs.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- wcfxs.c	3 Oct 2003 15:38:50 -0000	1.22
+++ wcfxs.c	3 Oct 2003 19:22:20 -0000	1.23
@@ -624,8 +624,9 @@
 	}
 
 	if (vbat < 0xc0) {
-		printk("ProSLIC on module %d failed to powerup within %d ms\n",
-		       card, (int)(((jiffies - origjiffies) * 1000 / HZ)));
+		printk("ProSLIC on module %d failed to powerup within %d ms (%d mV only)\n",
+		       card, (int)(((jiffies - origjiffies) * 1000 / HZ)),
+			vbat * 375);
 		return -1;
 	} else if (debug) {
 		printk("ProSLIC on module %d powered up to -%d volts (%02x) in %d ms\n",




More information about the svn-commits mailing list