diff --git a/main.cpp b/main.cpp index 26d3e12..9f7ac94 100644 --- a/main.cpp +++ b/main.cpp @@ -86,7 +86,7 @@ ISR(TIMER2_OVF_vect) void buttonHandler(uint8_t index, uint8_t type, void* data) { - if(display.getBlank()) + if(display.getBlank() && type == Buttons::RELEASED) { display.setBlank(false); return;