Even initialize int
This commit is contained in:
parent
5c8ab4ce97
commit
31e9c04e82
@ -52,11 +52,11 @@ void WebHandleSetup() {
|
|||||||
char *mqttPasswd = "";
|
char *mqttPasswd = "";
|
||||||
int mqttPort = 1883;
|
int mqttPort = 1883;
|
||||||
int ip_config = 0;
|
int ip_config = 0;
|
||||||
uint32_t ip;
|
uint32_t ip = 0;
|
||||||
uint32_t gw;
|
uint32_t gw = 0;
|
||||||
uint32_t mask;
|
uint32_t mask = 0;
|
||||||
uint32_t dns;
|
uint32_t dns = 0;
|
||||||
uint32_t dns2;
|
uint32_t dns2 = 0;
|
||||||
|
|
||||||
EepromReadConfig(mode, &confSsid, &confPassword, &confHost, &mqttServer, &mqttUser, &mqttPasswd, mqttPort, ip_config, ip, gw, mask, dns, dns2);
|
EepromReadConfig(mode, &confSsid, &confPassword, &confHost, &mqttServer, &mqttUser, &mqttPasswd, mqttPort, ip_config, ip, gw, mask, dns, dns2);
|
||||||
|
|
||||||
|
@ -185,12 +185,12 @@ void setup() {
|
|||||||
char *mqttUser = "";
|
char *mqttUser = "";
|
||||||
char *mqttPasswd = "";
|
char *mqttPasswd = "";
|
||||||
int mqttPort ;
|
int mqttPort ;
|
||||||
int ip_mode;
|
int ip_mode = 0;
|
||||||
uint32_t ip;
|
uint32_t ip = 0;
|
||||||
uint32_t gw;
|
uint32_t gw = 0;
|
||||||
uint32_t mask;
|
uint32_t mask = 0;
|
||||||
uint32_t dns;
|
uint32_t dns = 0;
|
||||||
uint32_t dns2;
|
uint32_t dns2 = 0;
|
||||||
|
|
||||||
delay(1000);
|
delay(1000);
|
||||||
SKETCH_DEBUG_INIT(115200);
|
SKETCH_DEBUG_INIT(115200);
|
||||||
|
Loading…
Reference in New Issue
Block a user