repair apptime

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4743 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2014-01-26 10:38:00 +00:00
parent cf9ddd27f6
commit 05567d9da8
2 changed files with 4 additions and 5 deletions

View File

@@ -5661,12 +5661,11 @@ sub CUL_HM_complConfigTest($){#
RemoveInternalTimer("CUL_HM_complConfigTO");
InternalTimer(gettimeofday()+ 1800,"CUL_HM_complConfigTO","CUL_HM_complConfigTO", 0);
}
(@{$modules{CUL_HM}{helper}{qReqStat}})
}
sub CUL_HM_complConfigTO($){
my @arr = @{$modules{CUL_HM}{helper}{confCheckArr}};
@{$modules{CUL_HM}{helper}{confCheckArr}} = ();
CUL_HM_complConfig($_) foreach (@arr);
CUL_HM_complConfig($_) foreach (CUL_HM_noDup(@arr));
}
sub CUL_HM_complConfig($) {# read config if enabled and not complete
my $name = shift;

View File

@@ -84,7 +84,7 @@ sub apptime_getTiming($$$@) {
!$defs{$e}{helper}{bm} ||
!$defs{$e}{helper}{bm}{$fnName} ){
$defs{$e}{helper}{bm}{$fnName} =(max =>0, mAr =>"",
%{$defs{$e}{helper}{bm}{$fnName}} =(max =>0, mAr =>"",
cnt =>1, tot =>0,
dmx =>0);