mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
RFR adapted to the new Clients/MatchList location
git-svn-id: https://svn.fhem.de/fhem/trunk@780 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
96bc5cdc30
commit
b17491dab9
@ -13,8 +13,6 @@ CUL_RFR_Initialize($)
|
||||
# Message is like
|
||||
# K41350270
|
||||
|
||||
$hash->{Clients} = $modules{CUL}->{Clients};
|
||||
$hash->{MatchList} = $modules{CUL}->{MatchList};
|
||||
$hash->{Match} = "^[0-9A-F]{4}U.";
|
||||
$hash->{DefFn} = "CUL_RFR_Define";
|
||||
$hash->{UndefFn} = "CUL_RFR_Undef";
|
||||
@ -94,6 +92,8 @@ CUL_RFR_Parse($$)
|
||||
elsif($smsg =~ m/^K/) { $hash->{NR_KMSG}++ }
|
||||
else { $hash->{NR_RMSG}++ }
|
||||
|
||||
$hash->{Clients} = $iohash->{Clients};
|
||||
$hash->{MatchList} = $iohash->{MatchList};
|
||||
foreach my $m (split(";", $smsg)) {
|
||||
CUL_Parse($hash, $iohash, $hash->{NAME}, $m, "X21");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user