36_JeeLink.pm: fixed typo

git-svn-id: https://svn.fhem.de/fhem/trunk@6892 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2014-11-05 08:30:59 +00:00
parent e1b400db1e
commit 3afcd4730e

View File

@@ -759,7 +759,7 @@ JeeLink_Parse($$$$)
my( $addr, $type, $channel, $temperature, $humidity, $batInserted ) = 0.0;
$addr = (hex(substr($dmsg,3,2)) & 0x0F) << 2) | ((hex(substr($dmsg,5,2)) & 0xC0) >> 6);
$addr = ((hex(substr($dmsg,3,2)) & 0x0F) << 2) | ((hex(substr($dmsg,5,2)) & 0xC0) >> 6);
$type = (hex(substr($dmsg,5,2)) & 0xF0) >> 4; # not needed by LaCrosse Module
#$channel = 1; ## $channel = (hex(substr($dmsg,5,2)) & 0x0F);