MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / loopOptionsWebUi

Function loopOptionsWebUi

src/webInterface.cpp:68–76  ·  view source on GitHub ↗

** Function: loopOptionsWebUi ** Display options to launch the WebUI **********************************************************************/

Source from the content-addressed store, hash-verified

66** Display options to launch the WebUI
67**********************************************************************/
68void loopOptionsWebUi() {
69 options = {
70 {"my Network", [=]() { webUIMyNet(); } },
71 {"AP mode", [=]() { startWebUi("Launcher", 0, true); }},
72 {"Main Menu", [=]() { returnToMenu = true; } },
73 };
74
75 loopOptions(options);
76}
77
78String humanReadableSize(uint64_t bytes) {
79 if (bytes < 1024) return String(bytes) + " B";

Callers 1

loopFunction · 0.85

Calls 3

webUIMyNetFunction · 0.85
startWebUiFunction · 0.85
loopOptionsFunction · 0.85

Tested by

no test coverage detected