Fixed ublox name, again.

This commit is contained in:
Sara Damiano
2018-09-25 18:03:47 -04:00
parent be4baa2a7d
commit 5c0736284b

View File

@@ -235,14 +235,14 @@ public:
sendAT(GF("+GMM")); sendAT(GF("+GMM"));
String res2; String res2;
if (waitResponse(1000L, res1) != 1) { if (waitResponse(1000L, res2) != 1) {
return "u-blox Cellular Modem"; return "u-blox Cellular Modem";
} }
res2.replace(GSM_NL "OK" GSM_NL, ""); res2.replace(GSM_NL "OK" GSM_NL, "");
res2.replace(GSM_NL, " "); res2.replace(GSM_NL, " ");
res2.trim(); res2.trim();
return res1 + res2; return res1 + String(' ') + res2;
} }
void setBaud(unsigned long baud) { void setBaud(unsigned long baud) {