Fix last nagging compiler warnings

This commit is contained in:
Sara Damiano
2019-09-11 15:15:17 -04:00
parent e99a33a673
commit f339fe91f0
2 changed files with 3 additions and 1 deletions

View File

@@ -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) {