repair burstXmit send
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4258 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -3449,18 +3449,14 @@ sub CUL_HM_PushCmdStack($$) {
|
||||
sub CUL_HM_ProcessCmdStack($) {
|
||||
my ($chnhash) = @_;
|
||||
my $hash = CUL_HM_getDeviceHash($chnhash);
|
||||
if($hash->{cmdStack} && !$hash->{helper}{prt}{rspWait}{cmd}){
|
||||
if(@{$hash->{cmdStack}}) {
|
||||
if (!$hash->{helper}{prt}{rspWait}{cmd}){
|
||||
if($hash->{cmdStack} && @{$hash->{cmdStack}}){
|
||||
CUL_HM_SndCmd($hash, shift @{$hash->{cmdStack}});
|
||||
}
|
||||
elsif(!@{$hash->{cmdStack}}) {
|
||||
#-- update info ---
|
||||
CUL_HM_protState($hash,"CMDs_done");
|
||||
elsif($hash->{helper}{prt}{sProc} != 0){
|
||||
CUL_HM_protState($hash,"CMDs_done");
|
||||
}
|
||||
}
|
||||
elsif($hash->{helper}{prt}{sProc} != 0){
|
||||
CUL_HM_protState($hash,"CMDs_done");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user