mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
MAXLAN: reset error if encountered
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4512 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5637efdf68
commit
c137a40f58
@ -667,6 +667,9 @@ MAXLAN_Parse($$)
|
||||
readingsBulkUpdate($dhash, "MAXLAN_valid", $valid);
|
||||
readingsBulkUpdate($dhash, "MAXLAN_isAnswer", $answer);
|
||||
readingsEndUpdate($dhash, 1);
|
||||
if($error) {
|
||||
MAXLAN_Write($hash,"r:01,".encode_base64(pack("H*",$addr),""), "S:");
|
||||
}
|
||||
}
|
||||
|
||||
$bindata=substr($bindata,$len+1); #+1 because the len field is not counted
|
||||
|
Loading…
x
Reference in New Issue
Block a user