Done.
-----Original message-----
From: Thomas E.-E. <notifications@github.com>
Sent: Sunday 5th January 2014 22:05
To: openhab/openhab <openhab@noreply.github.com>
Cc: dpslavov <dpslavov@hotmail.com>
Subject: Re: [openhab] GPIO binding (#54)

In bundles/io/org.openhab.io.gpio/src/main/java/org/openhab/io/gpio/linux/GPIOPinLinux.java:


> +					/* Wait for GPIO interrupt or timeout to occur. Timeouts provides possibility to check thread interrupt status */
> +					rc = LibC.INSTANCE.poll(pollfdset, 1, POLL_TIMEOUT);
> +
> +					switch(rc) {
> +
> +					/* Timeout, poll() again */
> +					case 0:
> +						continue;
> +
> +					/* There is one file descriptor ready */
> +					case 1:
> +// Disabled because POLLERR is always set !!!?
> +//						if ((pollfdset[0].revents & LibC.POLLERR) > 0) {
> +//							throw new IOException("");
> +//						}
> +//


please remove unused code

—
Reply to this email directly or view it on GitHub.