2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-29 17:37:09 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@6137 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
heikoranft 2014-06-18 22:44:00 +00:00
parent 4b475f469e
commit b68b63e94c

View File

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