mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
00_TCM: baseID check modified
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25207 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5e63f3e0ec
commit
feef99c51b
@ -1546,6 +1546,7 @@ sub TCM_Undef($$) {
|
||||
}
|
||||
}
|
||||
DevIo_CloseDev($hash);
|
||||
if (exists $modules{"$hash->{TYPE}"}{BaseID}) {
|
||||
for (my $i = 0; $i <= @{$modules{"$hash->{TYPE}"}{BaseID}}; $i++) {
|
||||
if (${$modules{"$hash->{TYPE}"}{BaseID}}[$i] eq $hash->{BaseID}) {
|
||||
Log3 $name, 4, "TCM $name remove module BaseID: " . ${$modules{"$hash->{TYPE}"}{BaseID}}[$i];
|
||||
@ -1553,6 +1554,7 @@ sub TCM_Undef($$) {
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (exists $modules{"$hash->{TYPE}"}{ChipID}) {
|
||||
for (my $i = 0; $i <= @{$modules{"$hash->{TYPE}"}{ChipID}}; $i++) {
|
||||
if (${$modules{"$hash->{TYPE}"}{ChipID}}[$i] eq $hash->{ChipID}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user