mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
f9d3515089
commit
b441f11746
@ -177,7 +177,7 @@ sub OWID_Define ($$) {
|
|||||||
|
|
||||||
#-- Couple to I/O device
|
#-- Couple to I/O device
|
||||||
AssignIoPort($hash);
|
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.";
|
return "OWID: Warning, no 1-Wire I/O device found for $name.";
|
||||||
}
|
}
|
||||||
$modules{OWID}{defptr}{$id} = $hash;
|
$modules{OWID}{defptr}{$id} = $hash;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user