2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

fhem.pl: remove CUL_WS hardcoded special handling (Forum #107032)

git-svn-id: https://svn.fhem.de/fhem/trunk@20891 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-01-05 17:58:54 +00:00
parent ade65bc140
commit 075d113b05
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->{corr4} = ((int(@a) > 6) ? $a[6] : 0);
$modules{CUL_WS}{defptr}{$a[2]} = $hash;
AssignIoPort($hash);
return undef;
}

View File

@ -2197,9 +2197,7 @@ AssignIoPort($;$)
}
}
if($hash->{IODev}) {
# See CUL_WS_Attr() for details
$attr{$hn}{IODev} = $hash->{IODev}{NAME}
if($hasIODevAttr && $hash->{TYPE} ne "CUL_WS");
$attr{$hn}{IODev} = $hash->{IODev}{NAME} if($hasIODevAttr);
} else {
if($init_done) {
@ -3997,6 +3995,7 @@ Dispatch($$;$$)
return undef;
}
delete($hash->{".clientArray"});
}
}
}