unblank display only on button release
This commit is contained in:
parent
71969143a5
commit
70f0f6e34c
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue