Don't need to remove the busy callback on menu anymore
This commit is contained in:
parent
e677d9bd1e
commit
2a0ad1cb14
1 changed files with 0 additions and 3 deletions
|
@ -31,7 +31,6 @@ void WatchFace::HandleButtonPress(uint64_t buttonMask)
|
||||||
m_menu.Redraw(false);
|
m_menu.Redraw(false);
|
||||||
|
|
||||||
const std::vector<int> buttons = {MENU_BTN_PIN, UP_BTN_PIN, DOWN_BTN_PIN, BACK_BTN_PIN};
|
const std::vector<int> buttons = {MENU_BTN_PIN, UP_BTN_PIN, DOWN_BTN_PIN, BACK_BTN_PIN};
|
||||||
ClearBusyCallback();
|
|
||||||
|
|
||||||
while (m_inMenu) {
|
while (m_inMenu) {
|
||||||
for (int button : buttons) {
|
for (int button : buttons) {
|
||||||
|
@ -59,8 +58,6 @@ void WatchFace::HandleButtonPress(uint64_t buttonMask)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SetBusyCallback();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue