mirror of https://github.com/sqfmi/Watchy.git
Whitespace changes
parent
80c4444576
commit
c5c83300da
|
@ -118,8 +118,7 @@ void Watchy::handleButtonPress(){
|
|||
if (guiState == WATCHFACE_STATE) {//enter menu state if coming from watch face
|
||||
showMenu(menuIndex, false);
|
||||
} else if (guiState == MAIN_MENU_STATE) {//if already in menu, then select menu item
|
||||
switch(menuIndex)
|
||||
{
|
||||
switch(menuIndex) {
|
||||
case 0:
|
||||
showBattery();
|
||||
break;
|
||||
|
@ -192,8 +191,7 @@ void Watchy::handleButtonPress(){
|
|||
if (digitalRead(MENU_BTN_PIN) == 1) {
|
||||
lastTimeout = millis();
|
||||
if (guiState == MAIN_MENU_STATE) {//if already in menu, then select menu item
|
||||
switch(menuIndex)
|
||||
{
|
||||
switch(menuIndex) {
|
||||
case 0:
|
||||
showBattery();
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue