mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 09:55:38 +00:00
98_Modbus: bugfix for scanning input registers
git-svn-id: https://svn.fhem.de/fhem/trunk@28814 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
920420e483
commit
a838b52fe3
@ -3474,7 +3474,7 @@ sub GetFC {
|
||||
|
||||
SEARCH: # find default function code first
|
||||
foreach my $fc (keys %fcMap) {
|
||||
if ($fcMap{$fc}{type} && $fcMap{$fc}{type} eq $type && exists $fcMap{$fc}{$op} && exists $fcMap{$fc}{default}) {
|
||||
if ($fcMap{$fc}{type} && $fcMap{$fc}{type} eq $type && exists $fcMap{$fc}{$fcKey} && exists $fcMap{$fc}{default}) {
|
||||
$defFC = $fc;
|
||||
last SEARCH;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user