mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
12_HProtocolGateway: fix checksum
git-svn-id: https://svn.fhem.de/fhem/trunk@18760 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
24c0dc9d53
commit
d6c0c9c2f8
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# 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 typo in Event RegEx for Twilight Event
|
||||||
- bugfix: 73_AutoShuttersControl: fix little winrec bug then state opened
|
- bugfix: 73_AutoShuttersControl: fix little winrec bug then state opened
|
||||||
(max winrec sensors)
|
(max winrec sensors)
|
||||||
|
@ -204,7 +204,7 @@ sub HProtocolGateway_ParseMessage($$) {
|
|||||||
while ($sum > 255) {
|
while ($sum > 255) {
|
||||||
$sum = $sum - 255;
|
$sum = $sum - 255;
|
||||||
}
|
}
|
||||||
|
$checksum = int($checksum);
|
||||||
return if($sum ne $checksum);
|
return if($sum ne $checksum);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user