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:
rudolfkoenig 2020-01-05 17:58:54 +00:00
parent f3c1171845
commit 1ad2e9e790
2 changed files with 2 additions and 4 deletions

View File

@ -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;
} }

View File

@ -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"});
} }
} }
} }