mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-18 05:56:03 +00:00
MAXLAN: reset error if encountered
git-svn-id: https://svn.fhem.de/fhem/trunk@4512 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4e88483f69
commit
ea26833d42
@ -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