mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	Fix last nagging compiler warnings
This commit is contained in:
		| @@ -388,7 +388,7 @@ protected: | ||||
|  | ||||
|   bool modemGetConnected(uint8_t mux) { | ||||
|     sendAT(GF("+CIPSTATUS")); | ||||
|     if (waitResponse(3000, GF("STATUS:")) != 1) return REG_UNKNOWN; | ||||
|     if (waitResponse(3000, GF("STATUS:")) != 1) return false; | ||||
|     int status = | ||||
|         waitResponse(GFP(GSM_ERROR), GF("2"), GF("3"), GF("4"), GF("5")); | ||||
|     if (status != 3) { | ||||
|   | ||||
| @@ -1181,6 +1181,7 @@ public: | ||||
|           // 0x02 = Invalid parameters (bad IP/host) | ||||
|           // 0x12 = DNS query lookup failure | ||||
|           // 0x25 = Unknown server - DNS lookup failed (0x22 for UDP socket!) | ||||
|           // fall through | ||||
|           case 0x02: | ||||
|           case 0x12: | ||||
|           case 0x25: { | ||||
| @@ -1189,6 +1190,7 @@ public: | ||||
|  | ||||
|           // If it's anything else (inc 0x02, 0x12, and 0x25)... | ||||
|           // it's definitely NOT connected | ||||
|           // fall through | ||||
|           default: { | ||||
|             sockets[0]->sock_connected = false; | ||||
|             savedOperatingIP = od; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user