Skip to content

Commit

Permalink
added some redundant menu sub-items (pr3y#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
eadmaster committed Nov 30, 2024
1 parent 7cd68a6 commit 1e09b58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/core/menu_items/FileMenu.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#include "FileMenu.h"
#include "core/display.h"
#include "core/sd_functions.h"
#include "modules/others/webInterface.h"

void FileMenu::optionsMenu() {
options = {
{"SD Card", [=]() { loopSD(SD); }},
{"LittleFS", [=]() { loopSD(LittleFS); }},
{"WebUI", [=]() { loopOptionsWebUi(); }},
{"Main Menu", [=]() { backToMenu(); }},
};

Expand Down
4 changes: 2 additions & 2 deletions src/core/menu_items/OthersMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

void OthersMenu::optionsMenu() {
options = {
//{"SD Card", [=]() { loopSD(SD); }},
//{"LittleFS", [=]() { loopSD(LittleFS); }},
{"SD Card", [=]() { loopSD(SD); }},
{"LittleFS", [=]() { loopSD(LittleFS); }},
{"WebUI", [=]() { loopOptionsWebUi(); }},
{"QRCodes", [=]() { qrcode_menu(); }},
{"GPS Tracker", [=]() { GPSTracker(); }},
Expand Down

0 comments on commit 1e09b58

Please sign in to comment.