2
0
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:
deespe 2016-12-02 21:30:28 +00:00
parent c8a9f2e107
commit f3acafcc1a

View File

@ -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);