arduino-libraries / ArduinoLowPower

Powersave features for SAMD boards
GNU Lesser General Public License v2.1
80 stars 57 forks source link

LowPower.detachAdcInterrupt() casues issues with LowPower.attachInterruptWakeup() #56

Open f-p-b opened 1 year ago

f-p-b commented 1 year ago

When using both LowPower.attachInterruptWakeup() and LowPower.attachAdcInterrupt() calling LowPower.detachAdcInterrupt() will also cause the pins assigned with attachInterruptWakeup() to stop working.