Even initialize int
This commit is contained in:
parent
5c8ab4ce97
commit
31e9c04e82
@ -52,11 +52,11 @@ void WebHandleSetup() {
|
||||
char *mqttPasswd = "";
|
||||
int mqttPort = 1883;
|
||||
int ip_config = 0;
|
||||
uint32_t ip;
|
||||
uint32_t gw;
|
||||
uint32_t mask;
|
||||
uint32_t dns;
|
||||
uint32_t dns2;
|
||||
uint32_t ip = 0;
|
||||
uint32_t gw = 0;
|
||||
uint32_t mask = 0;
|
||||
uint32_t dns = 0;
|
||||
uint32_t dns2 = 0;
|
||||
|
||||
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 *mqttPasswd = "";
|
||||
int mqttPort ;
|
||||
int ip_mode;
|
||||
uint32_t ip;
|
||||
uint32_t gw;
|
||||
uint32_t mask;
|
||||
uint32_t dns;
|
||||
uint32_t dns2;
|
||||
int ip_mode = 0;
|
||||
uint32_t ip = 0;
|
||||
uint32_t gw = 0;
|
||||
uint32_t mask = 0;
|
||||
uint32_t dns = 0;
|
||||
uint32_t dns2 = 0;
|
||||
|
||||
delay(1000);
|
||||
SKETCH_DEBUG_INIT(115200);
|
||||
|
Loading…
Reference in New Issue
Block a user