mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
00_ZWDongle: clear patch (Forum #35126)
git-svn-id: https://svn.fhem.de/fhem/trunk@8643 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dc87f9a9c6
commit
4b37d7ff0e
@ -439,7 +439,7 @@ ZWDongle_Clear($)
|
||||
# Clear the pipe
|
||||
$hash->{RA_Timeout} = 0.3;
|
||||
for(;;) {
|
||||
my ($err, undef) = ZWDongle_ReadAnswer($hash, "Clear", undef);
|
||||
my ($err, undef) = ZWDongle_ReadAnswer($hash, "Clear", "wontmatch");
|
||||
last if($err && $err =~ m/^Timeout/);
|
||||
}
|
||||
delete($hash->{RA_Timeout});
|
||||
|
Loading…
x
Reference in New Issue
Block a user