don't stop the internal timer loop in case of network errors

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2107 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2012-11-10 23:37:23 +00:00
parent 150b47aa5d
commit e7d595832c

View File

@ -82,7 +82,7 @@ YAMAHA_AVR_GetStatus($;$)
if(not defined($hash->{MODEL}))
{
getModel($hash, $device);
getModel($hash, $device);
}
if(not defined($hash->{INPUTS}) or length($hash->{INPUTS}) == 0)
@ -99,7 +99,7 @@ YAMAHA_AVR_GetStatus($;$)
if($return eq "")
{
$hash->{STATE} = "unknown";
InternalTimer(gettimeofday()+$hash->{INTERVAL}, "YAMAHA_AVR_GetStatus", $hash, 1) unless($local == 1);
return;
}