mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 22:57:50 +03:00
Formatting
This commit is contained in:
parent
0dcd95a0b6
commit
aeb8a339f6
@ -151,8 +151,9 @@ void WifiSelectionActivity::processWifiScanResults() {
|
|||||||
[](const WifiNetworkInfo& a, const WifiNetworkInfo& b) { return a.rssi > b.rssi; });
|
[](const WifiNetworkInfo& a, const WifiNetworkInfo& b) { return a.rssi > b.rssi; });
|
||||||
|
|
||||||
// Show networks with PW first
|
// Show networks with PW first
|
||||||
std::sort(networks.begin(), networks.end(),
|
std::sort(networks.begin(), networks.end(), [](const WifiNetworkInfo& a, const WifiNetworkInfo& b) {
|
||||||
[](const WifiNetworkInfo& a, const WifiNetworkInfo& b) { return a.hasSavedPassword && !b.hasSavedPassword; });
|
return a.hasSavedPassword && !b.hasSavedPassword;
|
||||||
|
});
|
||||||
|
|
||||||
WiFi.scanDelete();
|
WiFi.scanDelete();
|
||||||
state = WifiSelectionState::NETWORK_LIST;
|
state = WifiSelectionState::NETWORK_LIST;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user