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:
parent
ade65bc140
commit
075d113b05
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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"});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user