36_JeeLink.pm: fixed typo

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

View File

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