OWID: fix 'Warning, no 1-Wire I/O device found for ...'
git-svn-id: https://svn.fhem.de/fhem/trunk@5296 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user