| 4 | #include "modules/others/timer.h" |
| 5 | |
| 6 | void 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 | |
| 21 | void ClockMenu::showSubMenu() { |
| 22 | options = { |
nothing calls this directly
no test coverage detected