... which makes it look like M5.Buttons.delHandlers() should compile.
However, Go to Declaration reveals:
void delHandlers(void (*fn)(Event&), Button* button, Gesture* gesture);
If there's a future rev in this file, including the default nullptr initializers would be handy.
A low priority issue: I expected
M5.Buttons.delHandlers()
to compile, but it did not. In PlatformIO, if I Go to Definition, I see:... which makes it look like
M5.Buttons.delHandlers()
should compile. However, Go to Declaration reveals:void delHandlers(void (*fn)(Event&), Button* button, Gesture* gesture);
If there's a future rev in this file, including the default
nullptr
initializers would be handy.