mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-09 07:44:19 +00:00
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:
parent
89154da989
commit
0d6306b950
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user