From 9899bafe997a4e020f302c99a6e025b4e8b25191 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Thu, 10 Jan 2008 18:12:27 +0000 Subject: xpp.r5254: * Improved polarity reversal hangups in FXO (r5194). Fixed false detection of polarity reversals. * Optimize xframe allocation, by not zeroing the whole memory (in get_xframe()). * Fixed erronous error message that appeared sometimes from fpga_load during USB renumeration. * Zaptel::Chans now provides battery() reporting for some FXO channels (Astribank FXO and wcfxo). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3643 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- xpp/utils/zaptel_hardware | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xpp/utils/zaptel_hardware') diff --git a/xpp/utils/zaptel_hardware b/xpp/utils/zaptel_hardware index a356f2c..004a44b 100755 --- a/xpp/utils/zaptel_hardware +++ b/xpp/utils/zaptel_hardware @@ -75,9 +75,9 @@ foreach my $dev ($hardware->device_list) { my $loaded; if($dev->is_astribank) { $xbus = $dev->xbus; - $loaded = $dev->loaded; } - die "driver should be '$driver' but is actually '$loaded'" + $loaded = $dev->loaded; + warn "driver should be '$driver' but is actually '$loaded'\n" if defined($loaded) && $driver ne $loaded; $driver = "$driver" . (($loaded) ? "+" : "-"); my $description = $dev->description || ""; -- cgit v1.2.3