00_CUL.pm: make reopen nonblocking

git-svn-id: https://svn.fhem.de/fhem/trunk@23573 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2021-01-21 08:27:59 +00:00
parent 5ae1bdaa79
commit fecd82dbd2

View File

@@ -960,7 +960,7 @@ CUL_Ready($)
{
my ($hash) = @_;
return DevIo_OpenDev($hash, 1, "CUL_DoInit")
return DevIo_OpenDev($hash, 1, "CUL_DoInit", sub(){})
if($hash->{STATE} eq "disconnected");
# This is relevant for windows/USB only