2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 13:26:02 +00:00

10_CUL_HM: minor bug

git-svn-id: https://svn.fhem.de/fhem/trunk@7105 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-11-30 19:03:20 +00:00
parent 851d001812
commit 2fac8714d7

View File

@ -5129,7 +5129,8 @@ sub CUL_HM_sndIfOpen($) {
||(defined $ioHash->{XmitOpen} && $ioHash->{XmitOpen} != 1) ||(defined $ioHash->{XmitOpen} && $ioHash->{XmitOpen} != 1)
# ||$modules{CUL_HM}{prot}{rspPend}>=$maxPendCmds # ||$modules{CUL_HM}{prot}{rspPend}>=$maxPendCmds
){#still no send allowed ){#still no send allowed
if ($modules{CUL_HM}{$io}{tmrStart} < gettimeofday() - $modules{CUL_HM}{hmIoMaxDly}){ if ( $modules{CUL_HM}{$io}{tmrStart} &&
($modules{CUL_HM}{$io}{tmrStart} < gettimeofday() - $modules{CUL_HM}{hmIoMaxDly})){
# we need to clean up - this is way to long Stop delay # we need to clean up - this is way to long Stop delay
if ($modules{CUL_HM}{$io}{pendDev}) { if ($modules{CUL_HM}{$io}{pendDev}) {
while(@{$modules{CUL_HM}{$io}{pendDev}}){ while(@{$modules{CUL_HM}{$io}{pendDev}}){