MCPcopy Create free account
hub / github.com/BruceDevices/firmware / optionsMenu

Method optionsMenu

src/core/menu_items/ClockMenu.cpp:6–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "modules/others/timer.h"
5
6void ClockMenu::optionsMenu() {
7 while (!returnToMenu) {
8 runClockLoop(true);
9
10 // If ESC is pressed on the watch, it exits
11 if (returnToMenu) break;
12
13 // OK pressed, show submenu
14 showSubMenu();
15
16 // If "Exit" is pressed in the submenu, it exits
17 if (returnToMenu) break;
18 }
19}
20
21void ClockMenu::showSubMenu() {
22 options = {

Callers

nothing calls this directly

Calls 2

runClockLoopFunction · 0.85
showSubMenuFunction · 0.85

Tested by

no test coverage detected