10_SchellenbergHandle.pm: rolling code fix
git-svn-id: https://svn.fhem.de/fhem/trunk@22792 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -166,7 +166,7 @@ sub SchellenbergHandle_ProcessMsg {
|
||||
my $diff;
|
||||
{
|
||||
use integer;
|
||||
$diff = (0x10000 + hex($mc) - $lastmc) & 0xFFFF;
|
||||
$diff = (0x10000 +$mc -$lastmc) & 0xFFFF;
|
||||
};
|
||||
if ($diff == 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user