Closed fmafma closed 4 years ago
Hi!
The autoconfigInterrupt() method does not check for the onIncrement callback, and so does not set the according bit in the interrupt register.
autoconfigInterrupt()
onIncrement
This code should be added:
if (onIncrement != NULL) reg |= RINC;
Thanks,
Frédéric
Fixed! Thank you!
Hi!
The
autoconfigInterrupt()
method does not check for theonIncrement
callback, and so does not set the according bit in the interrupt register.This code should be added:
if (onIncrement != NULL) reg |= RINC;
Thanks,
Frédéric