mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
98_Hyperion: fix InternalTimer
git-svn-id: https://svn.fhem.de/fhem/trunk@12701 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c8a9f2e107
commit
f3acafcc1a
@ -118,7 +118,7 @@ sub Hyperion_Define($$)
|
||||
}
|
||||
else
|
||||
{
|
||||
InternalTimer(gettimeofday() + $interval,"Hyperion_GetUpdate",$hash,0);
|
||||
InternalTimer(gettimeofday() + $interval,"Hyperion_GetUpdate",$hash);
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
@ -463,7 +463,7 @@ sub Hyperion_GetUpdate(@)
|
||||
RemoveInternalTimer($hash);
|
||||
if ($hash->{INTERVAL})
|
||||
{
|
||||
InternalTimer(gettimeofday() + $hash->{INTERVAL},"Hyperion_GetUpdate",$hash,1);
|
||||
InternalTimer(gettimeofday() + $hash->{INTERVAL},"Hyperion_GetUpdate",$hash);
|
||||
}
|
||||
return undef if (IsDisabled($hash));
|
||||
Hyperion_Call($hash);
|
||||
|
Loading…
Reference in New Issue
Block a user