2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 11:26:55 +00:00

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 c084a0b1d6
commit 7a2478f10c

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;
}