mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-15 22:26:04 +00:00
Fix of Fix
git-svn-id: https://svn.fhem.de/fhem/trunk@451 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
16107db8b6
commit
2821258451
@ -13,6 +13,7 @@ sub CUL_Read($);
|
||||
sub CUL_ReadAnswer($$$);
|
||||
sub CUL_Ready($);
|
||||
sub CUL_HandleCurRequest($$);
|
||||
sub CUL_HandleWriteQueue($);
|
||||
|
||||
sub CUL_OpenDev($$);
|
||||
sub CUL_CloseDev($);
|
||||
@ -630,10 +631,13 @@ CUL_HandleWriteQueue($)
|
||||
return;
|
||||
}
|
||||
my $bstring = $arr->[0];
|
||||
next if($bstring eq "-");
|
||||
CUL_XmitLimitCheck($hash,$bstring);
|
||||
CUL_SimpleWrite($hash, $bstring);
|
||||
InternalTimer(gettimeofday()+0.3, "CUL_HandleWriteQueue", $hash, 1);
|
||||
if($bstring eq "-") {
|
||||
CUL_HandleWriteQueue($hash);
|
||||
} else {
|
||||
CUL_XmitLimitCheck($hash,$bstring);
|
||||
CUL_SimpleWrite($hash, $bstring);
|
||||
InternalTimer(gettimeofday()+0.3, "CUL_HandleWriteQueue", $hash, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user