[zaptel-commits] kpfleming: branch 1.2 r1438 - /branches/1.2/wct4xxp/base.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Fri Sep 8 09:11:39 MST 2006


Author: kpfleming
Date: Fri Sep  8 11:11:38 2006
New Revision: 1438

URL: http://svn.digium.com/view/zaptel?rev=1438&view=rev
Log:
gotta pay closer attention before i commit this stuff...

Modified:
    branches/1.2/wct4xxp/base.c

Modified: branches/1.2/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wct4xxp/base.c?rev=1438&r1=1437&r2=1438&view=diff
==============================================================================
--- branches/1.2/wct4xxp/base.c (original)
+++ branches/1.2/wct4xxp/base.c Fri Sep  8 11:11:38 2006
@@ -2726,7 +2726,7 @@
 #ifdef HOTPLUG_FIRMWARE
 	release_firmware(firmware);
 #endif
-	if (vpmdtmfsupport<0){
+	if (vpmdtmfsupport == -1) {
 		printk("VPM450: hardware DTMF disabled.\n");
 		vpmdtmfsupport = 0;
 	}
@@ -2866,7 +2866,7 @@
 			t4_vpm_out(wc, x, i, (x < 4) ? 0x55 : 0xAA);
 
 	} 
-	if (vpmdtmfsupport<0){
+	if (vpmdtmfsupport == -1) {
 		printk("VPM400: hardware DTMF enabled.\n");
 		vpmdtmfsupport = 1;
 	}



More information about the zaptel-commits mailing list