| 7 | #include "core/wifi/wifi_common.h" |
| 8 | |
| 9 | void ConnectMenu::optionsMenu() { |
| 10 | options = { |
| 11 | #ifndef LITE_VERSION |
| 12 | {"Send File", [=]() { FileSharing().sendFile(); } }, |
| 13 | {"Recv File", [=]() { FileSharing().receiveFile(); } }, |
| 14 | |
| 15 | {"Send Cmds", [=]() { EspSerialCmd().sendCommands(); } }, |
| 16 | {"Recv Cmds", [=]() { EspSerialCmd().receiveCommands(); }}, |
| 17 | #endif |
| 18 | }; |
| 19 | addOptionToMainMenu(); |
| 20 | |
| 21 | loopOptions(options, MENU_TYPE_SUBMENU, getName().c_str()); |
| 22 | } |
| 23 | |
| 24 | void ConnectMenu::drawIcon(float scale) { |
| 25 | clearIconArea(); |
nothing calls this directly
no test coverage detected