Adafruit_Seesaw
Adafruit_Seesaw copied to clipboard
NeoTrellis callback registration does not compile
NeoTrellis.h defines three methods for registering a callback with NeoTrellis and MultiTrellis. The method signatures are such that this does not compile for me using PlatformIO.
A signature such as void registerCallback(uint8_t key, TrellisCallback (*cb)(keyEvent));
Should be rewritten to void registerCallback(uint8_t key, TrellisCallback cb);
And the _callbacks[]
array adjusted to suit.
I wonder how this can compile at all?