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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user