mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
Log3 typos...
git-svn-id: https://svn.fhem.de/fhem/trunk@3740 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
36b77c663c
commit
e5dcad27dc
@ -147,7 +147,7 @@ DevIo_OpenDev($$$)
|
|||||||
delete($hash->{NEXT_OPEN})
|
delete($hash->{NEXT_OPEN})
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
Log3 $name, 3, "Can't connect to $dev: $!") if(!$reopen);
|
Log3 $name, 3, "Can't connect to $dev: $!" if(!$reopen);
|
||||||
$readyfnlist{"$name.$dev"} = $hash;
|
$readyfnlist{"$name.$dev"} = $hash;
|
||||||
$hash->{STATE} = "disconnected";
|
$hash->{STATE} = "disconnected";
|
||||||
$hash->{NEXT_OPEN} = time()+60;
|
$hash->{NEXT_OPEN} = time()+60;
|
||||||
|
@ -70,7 +70,7 @@ SetExtensions($$@)
|
|||||||
my $hms_till = sprintf("%02d:%02d:%02d", $hr, $min, $sec);
|
my $hms_till = sprintf("%02d:%02d:%02d", $hr, $min, $sec);
|
||||||
my $hms_now = sprintf("%02d:%02d:%02d", $lt[2], $lt[1], $lt[0]);
|
my $hms_now = sprintf("%02d:%02d:%02d", $lt[2], $lt[1], $lt[0]);
|
||||||
if($hms_now ge $hms_till) {
|
if($hms_now ge $hms_till) {
|
||||||
Log $hash, 4,
|
Log3 $hash, 4,
|
||||||
"$cmd: won't switch as now ($hms_now) is later than $hms_till";
|
"$cmd: won't switch as now ($hms_now) is later than $hms_till";
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user