mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 11:26:03 +00:00
LUXTRONIK2: bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@14271 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a49c9cade6
commit
eefa7436b8
@ -1409,7 +1409,7 @@ sub LUXTRONIK2_synchronizeClock (@)
|
||||
my $delay = 0;
|
||||
my $returnStr = "";
|
||||
|
||||
$maxDelta = 60 unless $maxDelta >= 0;
|
||||
$maxDelta = 60 unless defined $maxDelta || $maxDelta >= 0;
|
||||
$maxDelta = 600 unless $maxDelta <= 600;
|
||||
|
||||
LUXTRONIK2_Log $name, 5, "Open telnet connection to $host";
|
||||
|
Loading…
x
Reference in New Issue
Block a user