Don't need to remove the busy callback on menu anymore

This commit is contained in:
Lewis Jackson 2023-05-29 23:40:51 +03:00
parent e677d9bd1e
commit 2a0ad1cb14

View file

@ -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();
} }
} }
} }