From d6c0c9c2f8e48b7a062bbe136bd34bdd6174fb71 Mon Sep 17 00:00:00 2001 From: eisler Date: Thu, 28 Feb 2019 11:33:21 +0000 Subject: [PATCH] 12_HProtocolGateway: fix checksum git-svn-id: https://svn.fhem.de/fhem/trunk@18760 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/12_HProtocolGateway.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index c26307916..ab2112398 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 12_HProtocolGateway: fix checksum - bugfix: 73_AutoShuttersControl: fix typo in Event RegEx for Twilight Event - bugfix: 73_AutoShuttersControl: fix little winrec bug then state opened (max winrec sensors) diff --git a/fhem/FHEM/12_HProtocolGateway.pm b/fhem/FHEM/12_HProtocolGateway.pm index b26942d69..2b3e6fe5b 100644 --- a/fhem/FHEM/12_HProtocolGateway.pm +++ b/fhem/FHEM/12_HProtocolGateway.pm @@ -204,7 +204,7 @@ sub HProtocolGateway_ParseMessage($$) { while ($sum > 255) { $sum = $sum - 255; } - + $checksum = int($checksum); return if($sum ne $checksum); } else {