2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-24 21:29:21 +00:00

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 afd04c0461
commit 3f06d2866a

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