Skip to content

Commit

Permalink
14_SD_Keeloq - smal syntax fix
Browse files Browse the repository at this point in the history
- fix $Serial_send syntax
fhem/SD_Keeloq#6 (comment)
  • Loading branch information
HomeAutoUser committed Aug 31, 2019
1 parent b973b05 commit 7ded32d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGED
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
30.08.2019
14_SD_Keeloq.pm: fix group control 9-16 | added enhancement (shade for groups) | reduced repeats for shade after test
31.08.2019
14_SD_Keeloq.pm: fix group control 9-16 | added enhancement (shade for groups)
reduced repeats for shade after test | fix serial send syntax
00_SIGNALduino.pm: get availableFirmware - fix browser refresh
27.08.2019
00_SIGNALduino.pm: SIGNALduino_postDemo_WS2000 - fix Perl warning
Expand Down
2 changes: 1 addition & 1 deletion FHEM/14_SD_Keeloq.pm
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ sub Set($$$@) {
$bit64to71 = reverse $bit64to71; # JaroLift only

### DeviceKey (die ersten Stellen aus der Vorage, der Rest vom Sendenen Kanal)
$Serial_send = sprintf ("%24b", hex($Serial_send)); # verified
$Serial_send = sprintf ("%024b", hex($Serial_send)); # verified

$DeviceKey = $Serial_send.$models{$model}{Channel}{$channel}; # verified
$DeviceKey = oct("0b".$DeviceKey); # verified
Expand Down

0 comments on commit 7ded32d

Please sign in to comment.