mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
00_ZWDongle: small fix (Forum #79893)
git-svn-id: https://svn.fhem.de/fhem/trunk@15538 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9ff9d5263e
commit
10fee1dbf7
@ -569,7 +569,7 @@ ZWDongle_Get($@)
|
||||
my $maxlen = (length($msg) >= 10 ? 10 : length($msg));
|
||||
for(my $off=4; $off<$maxlen; $off+=2) {
|
||||
my $dec = hex(substr($msg, $off, 2));
|
||||
if($dec == 127 || $dec == 0) {
|
||||
if($dec == 127) {
|
||||
push @list, ("ch".($i+1).":N/A");
|
||||
} elsif($dec == 126) {
|
||||
push @list, ("ch".($i+1).":aboveMaxPower");
|
||||
|
Loading…
x
Reference in New Issue
Block a user