Remove bluetooth general menu

This commit is contained in:
Just Call Me Koko
2023-08-31 18:46:13 -04:00
parent 56133db97a
commit 49888fa864
3 changed files with 7 additions and 7 deletions

View File

@@ -1891,9 +1891,9 @@ void MenuFunctions::RunSetup()
//addNodes(&bluetoothMenu, "Scanners", TFT_ORANGE, NULL, SCANNERS, [this]() { //addNodes(&bluetoothMenu, "Scanners", TFT_ORANGE, NULL, SCANNERS, [this]() {
// changeMenu(&bluetoothScannerMenu); // changeMenu(&bluetoothScannerMenu);
//}); //});
addNodes(&bluetoothMenu, text_table1[33], TFT_PURPLE, NULL, GENERAL_APPS, [this]() { /*addNodes(&bluetoothMenu, text_table1[33], TFT_PURPLE, NULL, GENERAL_APPS, [this]() {
changeMenu(&bluetoothGeneralMenu); changeMenu(&bluetoothGeneralMenu);
}); });*/
// Build bluetooth sniffer Menu // Build bluetooth sniffer Menu
bluetoothSnifferMenu.parentMenu = &bluetoothMenu; // Second Menu is third menu parent bluetoothSnifferMenu.parentMenu = &bluetoothMenu; // Second Menu is third menu parent
@@ -1918,7 +1918,7 @@ void MenuFunctions::RunSetup()
//}); //});
// Build bluetooth general menu // Build bluetooth general menu
bluetoothGeneralMenu.parentMenu = &bluetoothMenu; /*bluetoothGeneralMenu.parentMenu = &bluetoothMenu;
addNodes(&bluetoothGeneralMenu, text09, TFT_LIGHTGREY, NULL, 0, [this]() { addNodes(&bluetoothGeneralMenu, text09, TFT_LIGHTGREY, NULL, 0, [this]() {
changeMenu(bluetoothGeneralMenu.parentMenu); changeMenu(bluetoothGeneralMenu.parentMenu);
}); });
@@ -1931,7 +1931,7 @@ void MenuFunctions::RunSetup()
shutdownBLEMenu.parentMenu = &bluetoothGeneralMenu; shutdownBLEMenu.parentMenu = &bluetoothGeneralMenu;
addNodes(&shutdownBLEMenu, text09, TFT_LIGHTGREY, NULL, 0, [this]() { addNodes(&shutdownBLEMenu, text09, TFT_LIGHTGREY, NULL, 0, [this]() {
changeMenu(shutdownBLEMenu.parentMenu); changeMenu(shutdownBLEMenu.parentMenu);
}); });*/
// Bad USB Menu // Bad USB Menu
//badusbMenu.parentMenu = &mainMenu; //badusbMenu.parentMenu = &mainMenu;

View File

@@ -766,7 +766,7 @@ void WiFiScan::RunGenerateSSIDs(int count) {
#endif #endif
} }
void WiFiScan::RunShutdownBLE() { /*void WiFiScan::RunShutdownBLE() {
#ifdef HAS_SCREEN #ifdef HAS_SCREEN
display_obj.tft.setTextWrap(false); display_obj.tft.setTextWrap(false);
display_obj.tft.setFreeFont(NULL); display_obj.tft.setFreeFont(NULL);
@@ -791,7 +791,7 @@ void WiFiScan::RunShutdownBLE() {
display_obj.tft.println(F(text_table4[19])); display_obj.tft.println(F(text_table4[19]));
#endif #endif
} }
} }*/
void WiFiScan::RunInfo() void WiFiScan::RunInfo()
{ {

View File

@@ -314,7 +314,7 @@ class WiFiScan
void changeChannel(); void changeChannel();
void changeChannel(int chan); void changeChannel(int chan);
void RunInfo(); void RunInfo();
void RunShutdownBLE(); //void RunShutdownBLE();
void RunGenerateSSIDs(int count = 20); void RunGenerateSSIDs(int count = 20);
void RunClearSSIDs(); void RunClearSSIDs();
void RunClearAPs(); void RunClearAPs();