YAMAHA_BD: continue processing HTTP cmd queue even when HTTP errors occur
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10036 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -767,16 +767,16 @@ YAMAHA_BD_ParseResponse($$$)
|
||||
}
|
||||
|
||||
readingsEndUpdate($hash, 1);
|
||||
|
||||
if(@{$hash->{helper}{CMD_QUEUE}})
|
||||
{
|
||||
YAMAHA_BD_HandleCmdQueue($hash);
|
||||
}
|
||||
|
||||
|
||||
YAMAHA_BD_GetStatus($hash, 1) if($cmd ne "statusRequest" and $cmd ne "on");
|
||||
YAMAHA_BD_ResetTimer($hash, 10) if($cmd eq "on");
|
||||
}
|
||||
|
||||
if(@{$hash->{helper}{CMD_QUEUE}})
|
||||
{
|
||||
YAMAHA_BD_HandleCmdQueue($hash);
|
||||
}
|
||||
|
||||
$hash->{helper}{AVAILABLE} = ($err ? 0 : 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user