repair apptime
git-svn-id: https://svn.fhem.de/fhem/trunk@4743 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -5661,12 +5661,11 @@ sub CUL_HM_complConfigTest($){#
|
|||||||
RemoveInternalTimer("CUL_HM_complConfigTO");
|
RemoveInternalTimer("CUL_HM_complConfigTO");
|
||||||
InternalTimer(gettimeofday()+ 1800,"CUL_HM_complConfigTO","CUL_HM_complConfigTO", 0);
|
InternalTimer(gettimeofday()+ 1800,"CUL_HM_complConfigTO","CUL_HM_complConfigTO", 0);
|
||||||
}
|
}
|
||||||
(@{$modules{CUL_HM}{helper}{qReqStat}})
|
|
||||||
}
|
}
|
||||||
sub CUL_HM_complConfigTO($){
|
sub CUL_HM_complConfigTO($){
|
||||||
my @arr = @{$modules{CUL_HM}{helper}{confCheckArr}};
|
my @arr = @{$modules{CUL_HM}{helper}{confCheckArr}};
|
||||||
@{$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
|
sub CUL_HM_complConfig($) {# read config if enabled and not complete
|
||||||
my $name = shift;
|
my $name = shift;
|
||||||
|
|||||||
@@ -84,9 +84,9 @@ sub apptime_getTiming($$$@) {
|
|||||||
!$defs{$e}{helper}{bm} ||
|
!$defs{$e}{helper}{bm} ||
|
||||||
!$defs{$e}{helper}{bm}{$fnName} ){
|
!$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,
|
cnt =>1, tot =>0,
|
||||||
dmx =>0);
|
dmx =>0);
|
||||||
|
|
||||||
$h = $defs{$e}{helper}{bm}{$fnName};
|
$h = $defs{$e}{helper}{bm}{$fnName};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user