dmadison / ServoInput

Interrupt-driven servo decoder library for Arduino
GNU Lesser General Public License v3.0
22 stars 10 forks source link

Disable pin checks if no platform support #29

Closed dmadison closed 7 months ago

dmadison commented 7 months ago

If a platform doesn't support checking if a given pin supports interrupts (using the NOT_AN_INTERRUPT define), disable the code snippets which check if a pin supports interrupts. Since we cannot tell which pins support interrupts, this also disables the pin-change interrupt feature on those platforms.

This should fix compilation issues on some platforms.

See issue #28 for reference.