mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 11:01:59 +00:00
98_ComfoAir.pm: little bug fix
git-svn-id: https://svn.fhem.de/fhem/trunk@27160 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e538b59e95
commit
d52b398ed2
@ -827,9 +827,11 @@ sub ReadyFn {
|
|||||||
|
|
||||||
# This is relevant for windows/USB only
|
# This is relevant for windows/USB only
|
||||||
my $po = $hash->{USBDev};
|
my $po = $hash->{USBDev};
|
||||||
my ($BlockingFlags, $InBytes, $OutBytes, $ErrorFlags) = $po->status;
|
if ($po) {
|
||||||
|
my ($BlockingFlags, $InBytes, $OutBytes, $ErrorFlags) = $po->status;
|
||||||
return ($InBytes>0);
|
return ($InBytes>0);
|
||||||
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user