sforkowany z mirror/meshtastic-firmware
Merge pull request #410 from mc-hamster/master
Completed Software AP and basic Captive Portal1.2-legacy
commit
6f753799fd
|
@ -52,6 +52,7 @@ void initWifi()
|
|||
const char *wifiName = radioConfig.preferences.wifi_ssid;
|
||||
const char *wifiPsw = radioConfig.preferences.wifi_password;
|
||||
|
||||
/*
|
||||
if (1) {
|
||||
radioConfig.preferences.wifi_ap_mode = 1;
|
||||
strcpy(radioConfig.preferences.wifi_ssid, "MeshTest2");
|
||||
|
@ -61,7 +62,7 @@ void initWifi()
|
|||
strcpy(radioConfig.preferences.wifi_ssid, "meshtastic");
|
||||
strcpy(radioConfig.preferences.wifi_password, "meshtastic!");
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
if (*wifiName && *wifiPsw) {
|
||||
if (radioConfig.preferences.wifi_ap_mode) {
|
||||
|
|
|
@ -13,6 +13,4 @@ void initWifi();
|
|||
void deinitWifi();
|
||||
bool isWifiAvailable();
|
||||
|
||||
void WiFiEvent(WiFiEvent_t event);
|
||||
|
||||
void handleDNSResponse();
|
||||
|
|
Ładowanie…
Reference in New Issue