sumotoy / gpio_expander

A library for drive a lot of GPIO chips with Arduino/Teensy3.x or LC
67 stars 29 forks source link

Hard fix of #15

Open PJCzx opened 4 years ago

PJCzx commented 4 years ago

Not 100% sur of how dirty this fix is, but according to this source I added the following in the gpio_expander header

#ifndef NOT_AN_INTERRUPT
#define NOT_AN_INTERRUPT -1
#endif

This fixes the #14 issue I created a fews minutes ago