Fix SARA R4 temp
This commit is contained in:
@@ -524,7 +524,6 @@ TINY_GSM_MODEM_GET_GPRS_IP_CONNECTED()
|
|||||||
if (waitResponse(GF(GSM_NL "+UTEMP:")) != 1) {
|
if (waitResponse(GF(GSM_NL "+UTEMP:")) != 1) {
|
||||||
return (float)-9999;
|
return (float)-9999;
|
||||||
}
|
}
|
||||||
streamSkipUntil(','); // Skip units (C/F)
|
|
||||||
int16_t res = stream.readStringUntil('\n').toInt();
|
int16_t res = stream.readStringUntil('\n').toInt();
|
||||||
float temp = -9999;
|
float temp = -9999;
|
||||||
if (res != -1) {
|
if (res != -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user