git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6137 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
heikoranft
2014-06-18 22:44:00 +00:00
parent 9c88de46b5
commit 7081258a1a

View File

@@ -511,6 +511,8 @@ HEATRONIC_DecodeMsg_HC($$$)
my $type; my $type;
my $prefix = "hc1_"; my $prefix = "hc1_";
my $hc_Tdesired;
my $hc_Tmeasured;
if (defined(HEATRONIC_CRCtest($hash,$string, $length))) if (defined(HEATRONIC_CRCtest($hash,$string, $length)))
{ {
@@ -528,8 +530,8 @@ HEATRONIC_DecodeMsg_HC($$$)
if ($length != 9) if ($length != 9)
{ {
my $hc_Tdesired = hex(substr($string,8*2,4))/10; $hc_Tdesired = hex(substr($string,8*2,4))/10;
my $hc_Tmeasured = hex(substr($string,10*2,4))/10; $hc_Tmeasured = hex(substr($string,10*2,4))/10;
} }
my $hc_mode = hex(substr($string,6*2,2)); my $hc_mode = hex(substr($string,6*2,2));