diff --git a/src/NerdMinerV2.ino.cpp b/src/NerdMinerV2.ino.cpp index 8144dcf..9904d15 100644 --- a/src/NerdMinerV2.ino.cpp +++ b/src/NerdMinerV2.ino.cpp @@ -58,7 +58,7 @@ void setup() button1.attachClick(switchToNextScreen); button1.attachDoubleClick(alternateScreenRotation); button1.attachLongPressStart(reset_configuration); - if(button1.getNumberClicks() == 3) alternateScreenState(); + button1.attachMultiClick(alternateScreenState); #endif #if defined(PIN_BUTTON_1) && defined(PIN_BUTTON_2) //Button 1 of two button device