Browse Source

Fix QTEMP on M95, fixes #377

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
v_master
Sara Damiano 4 years ago
parent
commit
9f2068cecb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmClientM95.h

+ 1
- 1
src/TinyGsmClientM95.h View File

@ -387,7 +387,7 @@ class TinyGsmM95 : public TinyGsmModem<TinyGsmM95>,
*/
protected:
float getTemperatureImpl() {
sendAT(GF("+QTEMP"));
sendAT(GF("+QTEMP?"));
if (waitResponse(GF(GSM_NL "+QTEMP:")) != 1) {
return static_cast<float>(-9999);
}


Loading…
Cancel
Save