Initialized to prevent compiler warning.
This commit is contained in:
		@@ -275,7 +275,7 @@ public:
 | 
				
			|||||||
  bool isNetworkConnected() {
 | 
					  bool isNetworkConnected() {
 | 
				
			||||||
    sendAT(GF("+CIPSTATUS"));
 | 
					    sendAT(GF("+CIPSTATUS"));
 | 
				
			||||||
    int res1 = waitResponse(3000, GF("STATUS:"));
 | 
					    int res1 = waitResponse(3000, GF("STATUS:"));
 | 
				
			||||||
    int res2;
 | 
					    int res2 = 0;
 | 
				
			||||||
    if (res1 == 1) {
 | 
					    if (res1 == 1) {
 | 
				
			||||||
      res2 = waitResponse(GFP(GSM_ERROR), GF("2"), GF("3"), GF("4"), GF("5"));
 | 
					      res2 = waitResponse(GFP(GSM_ERROR), GF("2"), GF("3"), GF("4"), GF("5"));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user