complete readReg termination identification in some cases

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4617 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2014-01-11 08:35:29 +00:00
parent a7e1ba6ffe
commit db21038e67

View File

@@ -1848,6 +1848,7 @@ sub CUL_HM_parseCommon(@){#####################################################
($addr,$data) = (hex($1),$2) if ($data =~ m/(..)(.*)/);
if ($addr == 0){
$data = "00:00";
push @dataList,"00:00";
}
else{
$data =~s/(..)/$1:/g;