00_ZWDongle.pm: CAN handling modification (Forum #40537)

git-svn-id: https://svn.fhem.de/fhem/trunk@9206 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-09-06 09:08:21 +00:00
parent f3a02f775b
commit 0be788b996

View File

@@ -618,11 +618,8 @@ ZWDongle_Read($@)
if($fb eq "18") { # CAN
Log3 $name, 4, "ZWDongle_Read $name: CAN received";
$hash->{WaitForAck} = 0;
$hash->{SendRetries}++;
$hash->{MaxSendRetries}++ if($hash->{MaxSendRetries}<7);
$data = substr($data, 2);
select(undef, undef, undef, 0.1); # configRequestAll: 0.05 is not enough
next;
}