2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 11:26:55 +00:00

10CUL_HM: remove debug info

git-svn-id: https://svn.fhem.de/fhem/trunk@9150 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2015-08-28 21:12:25 +00:00
parent 1b14094c84
commit 3bd9d532fd

View File

@ -5982,10 +5982,9 @@ sub CUL_HM_statCntRfresh($) {# update statistic once a day
sub CUL_HM_respPendRm($) {#del response related entries in messageing entity sub CUL_HM_respPendRm($) {#del response related entries in messageing entity
my ($hash) = @_; my ($hash) = @_;
if (!defined($hash->{DEF})){
Log 1,"CUL_HM error removing pending commands";#General remove once found return if (!defined($hash->{DEF}));
return;
}
$modules{CUL_HM}{prot}{rspPend}-- if($hash->{helper}{prt}{rspWait}{cmd}); $modules{CUL_HM}{prot}{rspPend}-- if($hash->{helper}{prt}{rspWait}{cmd});
delete $hash->{helper}{prt}{rspWait}; delete $hash->{helper}{prt}{rspWait};
delete $hash->{helper}{prt}{wuReSent}; delete $hash->{helper}{prt}{wuReSent};
@ -6000,10 +5999,6 @@ sub CUL_HM_respPendTout($) {
my ($HMidIn) = @_; my ($HMidIn) = @_;
my(undef,$HMid) = split(":",$HMidIn,2); my(undef,$HMid) = split(":",$HMidIn,2);
my $hash = $modules{CUL_HM}{defptr}{$HMid}; my $hash = $modules{CUL_HM}{defptr}{$HMid};
if (!defined($hash)){
Log 1,"CUL_HM error removing timer for $HMidIn";#General remove once found
return;
}
my $pHash = $hash->{helper}{prt};#shortcut my $pHash = $hash->{helper}{prt};#shortcut
if ($hash && $hash->{DEF} ne '000000'){# we know the device if ($hash && $hash->{DEF} ne '000000'){# we know the device