Start a wifi scan after saving station details (#2315)

This commit is contained in:
Jesse Hills 2021-09-15 19:00:51 +12:00
parent efae363739
commit ad5f2cd748
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -244,6 +244,8 @@ void WiFiComponent::save_wifi_sta(const std::string &ssid, const std::string &pa
sta.set_ssid(ssid);
sta.set_password(password);
this->set_sta(sta);
this->start_scanning();
}
void WiFiComponent::start_connecting(const WiFiAP &ap, bool two) {