2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

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

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

View File

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