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]() {
// 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);
});
});*/
// Build bluetooth sniffer Menu
bluetoothSnifferMenu.parentMenu = &bluetoothMenu; // Second Menu is third menu parent
@@ -1918,7 +1918,7 @@ void MenuFunctions::RunSetup()
//});
// Build bluetooth general menu
bluetoothGeneralMenu.parentMenu = &bluetoothMenu;
/*bluetoothGeneralMenu.parentMenu = &bluetoothMenu;
addNodes(&bluetoothGeneralMenu, text09, TFT_LIGHTGREY, NULL, 0, [this]() {
changeMenu(bluetoothGeneralMenu.parentMenu);
});
@@ -1931,7 +1931,7 @@ void MenuFunctions::RunSetup()
shutdownBLEMenu.parentMenu = &bluetoothGeneralMenu;
addNodes(&shutdownBLEMenu, text09, TFT_LIGHTGREY, NULL, 0, [this]() {
changeMenu(shutdownBLEMenu.parentMenu);
});
});*/
// Bad USB Menu
//badusbMenu.parentMenu = &mainMenu;

View File

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

View File

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