OWID: fix 'Warning, no 1-Wire I/O device found for ...'

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5296 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess 2014-03-22 17:08:16 +00:00
parent f9d3515089
commit b441f11746

View File

@ -177,7 +177,7 @@ sub OWID_Define ($$) {
#-- Couple to I/O device
AssignIoPort($hash);
if( !defined($hash->{IODev}->{NAME}) | !defined($hash->{IODev}) | !defined($hash->{IODev}->{PRESENT}) ){
if( !defined($hash->{IODev}->{NAME}) | !defined($hash->{IODev}) ){
return "OWID: Warning, no 1-Wire I/O device found for $name.";
}
$modules{OWID}{defptr}{$id} = $hash;