2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

avoid crash at pairing

git-svn-id: https://svn.fhem.de/fhem/trunk@6110 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-06-14 11:58:49 +00:00
parent 9baef8b190
commit 6732f47e33

View File

@ -764,7 +764,8 @@ sub CUL_HM_hmInitMsg($){ #define device init msg for HMLAN
}
sub CUL_HM_hmInitMsgUpdt($){ #update device init msg for HMLAN
my ($hash)=@_;
return if ($hash->{helper}{role}{vrt});
return if ( $hash->{helper}{role}{vrt}
||!defined $hash->{helper}{io}{p});
my $oldChn = $hash->{helper}{io}{newChn};
my @p = @{$hash->{helper}{io}{p}};
# General todo