mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
fhem.pl: remove CUL_WS hardcoded special handling (Forum #107032)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20891 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f3c1171845
commit
1ad2e9e790
@ -60,7 +60,6 @@ CUL_WS_Define($$)
|
|||||||
$hash->{corr3} = ((int(@a) > 5) ? $a[5] : 0);
|
$hash->{corr3} = ((int(@a) > 5) ? $a[5] : 0);
|
||||||
$hash->{corr4} = ((int(@a) > 6) ? $a[6] : 0);
|
$hash->{corr4} = ((int(@a) > 6) ? $a[6] : 0);
|
||||||
$modules{CUL_WS}{defptr}{$a[2]} = $hash;
|
$modules{CUL_WS}{defptr}{$a[2]} = $hash;
|
||||||
AssignIoPort($hash);
|
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
5
fhem.pl
5
fhem.pl
@ -2197,9 +2197,7 @@ AssignIoPort($;$)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($hash->{IODev}) {
|
if($hash->{IODev}) {
|
||||||
# See CUL_WS_Attr() for details
|
$attr{$hn}{IODev} = $hash->{IODev}{NAME} if($hasIODevAttr);
|
||||||
$attr{$hn}{IODev} = $hash->{IODev}{NAME}
|
|
||||||
if($hasIODevAttr && $hash->{TYPE} ne "CUL_WS");
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if($init_done) {
|
if($init_done) {
|
||||||
@ -3997,6 +3995,7 @@ Dispatch($$;$$)
|
|||||||
return undef;
|
return undef;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
delete($hash->{".clientArray"});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user