Skip to content

Commit

Permalink
fixed freeze bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sqfmi committed Dec 3, 2021
1 parent e34fbac commit ac82f48
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Watchy",
"version": "1.2.10",
"version": "1.2.11",
"description": "Watchy - An Open Source E-Paper Watch by SQFMI",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Watchy
version=1.2.10
version=1.2.11
author=SQFMI
maintainer=SQFMI
sentence=Watchy - An Open Source E-Paper Watch by SQFMI
Expand Down
6 changes: 6 additions & 0 deletions src/Watchy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ void Watchy::handleButtonPress(){
showMenu(menuIndex, false);//exit to menu if already in app
}else if(guiState == FW_UPDATE_STATE){
showMenu(menuIndex, false);//exit to menu if already in app
}else if(guiState == WATCHFACE_STATE){
return;
}
}
//Up Button
Expand All @@ -100,6 +102,8 @@ void Watchy::handleButtonPress(){
menuIndex = MENU_LENGTH - 1;
}
showMenu(menuIndex, true);
}else if(guiState == WATCHFACE_STATE){
return;
}
}
//Down Button
Expand All @@ -110,6 +114,8 @@ void Watchy::handleButtonPress(){
menuIndex = 0;
}
showMenu(menuIndex, true);
}else if(guiState == WATCHFACE_STATE){
return;
}
}

Expand Down

0 comments on commit ac82f48

Please sign in to comment.