Move AP credentials to config and clarify STA UI access
This commit is contained in:
@@ -642,8 +642,8 @@ void setup() {
|
||||
} else {
|
||||
g_ap_mode = true;
|
||||
char ap_ssid[32];
|
||||
snprintf(ap_ssid, sizeof(ap_ssid), "DD3-Bridge-%04X", g_short_id);
|
||||
wifi_start_ap(ap_ssid, "changeme123");
|
||||
snprintf(ap_ssid, sizeof(ap_ssid), "%s%04X", AP_SSID_PREFIX, g_short_id);
|
||||
wifi_start_ap(ap_ssid, AP_PASSWORD);
|
||||
if (g_cfg.ntp_server_1.isEmpty()) {
|
||||
g_cfg.ntp_server_1 = "pool.ntp.org";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user