direct call of WOL_GetUpdate($hash) in WOL_Set()

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4168 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
dietmar63
2013-11-07 01:43:23 +00:00
parent 40d543df2e
commit c0f4b72c98

View File

@@ -66,7 +66,7 @@ sub WOL_Set($@)
InternalTimer(gettimeofday()+5, "WOL_UpdateReadings", $hash, 0);
if ($hash->{STATE} eq "on") {
InternalTimer(gettimeofday(), "WOL_GetUpdate", $hash, 0);
WOL_GetUpdate($hash);
}
return undef;
}