00_LIRC.pm: Use select instead of Poll (Forum #27821)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6748 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-10-12 07:11:56 +00:00
parent 6189a5bc58
commit f2c15a0824

View File

@@ -57,9 +57,9 @@ LIRC_Define($$)
$hash->{LircObj} = $lirc;
$hash->{FD} = $lirc->{sock}; # is not working and sets timeout to undefined
$hash->{FD} = $lirc->{sock}->fileno; # is not working and sets timeout to undefined
$selectlist{"$name"} = $hash; #
$readyfnlist{"$name"} = $hash; # thats why we start polling
#$readyfnlist{"$name"} = $hash; # thats why we start polling
$hash->{SelectObj} = $select;
$hash->{DeviceName} = $name;
$hash->{STATE} = "Opened";