mirror of https://github.com/SQ9MDD/ESP32IGate.git
Fix aprs path
This commit is contained in:
parent
974773c59d
commit
e47dc068eb
|
|
@ -10,7 +10,7 @@
|
||||||
#ifndef MAIN_H
|
#ifndef MAIN_H
|
||||||
#define MAIN_H
|
#define MAIN_H
|
||||||
|
|
||||||
#define VERSION "0.7a"
|
#define VERSION "0.7b"
|
||||||
|
|
||||||
#define DEBUG
|
#define DEBUG
|
||||||
//#define DEBUG_IS
|
//#define DEBUG_IS
|
||||||
|
|
|
||||||
|
|
@ -227,9 +227,9 @@ void defaultConfig()
|
||||||
config.modem = false;
|
config.modem = false;
|
||||||
config.wg_port = 51820;
|
config.wg_port = 51820;
|
||||||
sprintf(config.wg_peer_address, "203.150.19.23");
|
sprintf(config.wg_peer_address, "203.150.19.23");
|
||||||
sprintf(config.wg_local_address, "192.168.44.200");
|
sprintf(config.wg_local_address, "44.63.31.223");
|
||||||
sprintf(config.wg_netmask_address, "255.255.255.255");
|
sprintf(config.wg_netmask_address, "255.255.255.255");
|
||||||
sprintf(config.wg_gw_address, "192.168.44.254");
|
sprintf(config.wg_gw_address, "44.63.31.193");
|
||||||
sprintf(config.wg_public_key, "");
|
sprintf(config.wg_public_key, "");
|
||||||
sprintf(config.wg_private_key, "");
|
sprintf(config.wg_private_key, "");
|
||||||
config.timeZone = 7;
|
config.timeZone = 7;
|
||||||
|
|
|
||||||
|
|
@ -530,7 +530,7 @@ void handle_setting()
|
||||||
{
|
{
|
||||||
if (server.arg(i) != "")
|
if (server.arg(i) != "")
|
||||||
{
|
{
|
||||||
strcpy(config.tnc_path, server.arg(i).c_str());
|
strcpy(config.aprs_path, server.arg(i).c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -595,7 +595,7 @@ void handle_setting()
|
||||||
|
|
||||||
webString += "<div class=\"form-group\">\n";
|
webString += "<div class=\"form-group\">\n";
|
||||||
webString += "<label class=\"col-sm-4 col-xs-12 control-label\">APRS Path</label>\n";
|
webString += "<label class=\"col-sm-4 col-xs-12 control-label\">APRS Path</label>\n";
|
||||||
webString += "<div class=\"col-sm-6 col-xs-8\"><input class=\"form-control\" id=\"aprsPath\" name=\"aprsPath\" type=\"text\" value=\"" + String(config.tnc_path) + "\" /></div>\n";
|
webString += "<div class=\"col-sm-6 col-xs-8\"><input class=\"form-control\" id=\"aprsPath\" name=\"aprsPath\" type=\"text\" value=\"" + String(config.aprs_path) + "\" /></div>\n";
|
||||||
webString += "</div>\n";
|
webString += "</div>\n";
|
||||||
|
|
||||||
webString += "<div class=\"form-group\">\n";
|
webString += "<div class=\"form-group\">\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue