mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 17:36:39 +00:00
00_ZWDongle: fix capability decoding (Forum #37149)
git-svn-id: https://svn.fhem.de/fhem/trunk@8583 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0e912200b2
commit
197980797a
@ -330,7 +330,7 @@ ZWDongle_Get($@)
|
||||
for my $byte (0..31) {
|
||||
my $bits = $r[10+$byte];
|
||||
for my $bit (0..7) {
|
||||
my $id = sprintf("%02x", $byte*8+$bit);
|
||||
my $id = sprintf("%02x", $byte*8+$bit+1);
|
||||
push @list, ($zw_func_id{$id} ? $zw_func_id{$id} : "UNKNOWN_$id")
|
||||
if($bits & (1<<$bit));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user