From f63aad7c3627128a2ba6f6e1453b5a7232819aef Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 5 May 2019 19:44:00 +0000 Subject: [PATCH] 98_autocreate.pm: replace DevIo_TimeoutRead (Forum #100054) git-svn-id: https://svn.fhem.de/fhem/trunk@19337 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_autocreate.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/98_autocreate.pm b/fhem/FHEM/98_autocreate.pm index 3aa105021..2aff802a9 100644 --- a/fhem/FHEM/98_autocreate.pm +++ b/fhem/FHEM/98_autocreate.pm @@ -624,7 +624,8 @@ CommandUsb($$) # Send reset (optional) if(defined($thash->{init})) { DevIo_SimpleWrite($hash, $thash->{init}, 0); - DevIo_TimeoutRead($hash, $thash->{timeout} ? $thash->{timeout}:0.5); + DevIo_SimpleReadWithTimeout($hash, + $thash->{timeout} ? $thash->{timeout}:0.5); } # Clear the USB buffer