2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 19:36:02 +00:00

DevIo.pm: call callback for NEXT_OPEN (Forum #53309)

git-svn-id: https://svn.fhem.de/fhem/trunk@11742 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-07-05 08:02:03 +00:00
parent f368b30b9e
commit f8d05e0142

View File

@ -303,7 +303,7 @@ DevIo_OpenDev($$$;$)
# for non-existent devices has a delay of 3 sec, we are sitting all the
# time in this connect. NEXT_OPEN tries to avoid this problem.
if($hash->{NEXT_OPEN} && time() < $hash->{NEXT_OPEN}) {
return undef;
return &doCb(undef); # Forum 53309
}
my $timeout = $hash->{TIMEOUT} ? $hash->{TIMEOUT} : 3;