mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-21 23:00:51 -08:00
Externalize some utils
This commit is contained in:
@@ -1739,7 +1739,7 @@ void MenuFunctions::RunSetup()
|
||||
for (int x = 0; x < access_points->get(i).stations->size(); x++) {
|
||||
int cur_ap_sta = access_points->get(i).stations->get(x);
|
||||
|
||||
this->addNodes(&wifiStationMenu, wifi_scan_obj.macToString(stations->get(cur_ap_sta)), TFT_CYAN, NULL, KEYBOARD_ICO, [this, i, cur_ap_sta, x](){
|
||||
this->addNodes(&wifiStationMenu, macToString(stations->get(cur_ap_sta)), TFT_CYAN, NULL, KEYBOARD_ICO, [this, i, cur_ap_sta, x](){
|
||||
Station new_sta = stations->get(cur_ap_sta);
|
||||
new_sta.selected = !stations->get(cur_ap_sta).selected;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user