Tag temp fxns protected as they should be

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2020-02-19 18:40:09 -05:00
parent c3df44a65d
commit 75d228c545
4 changed files with 4 additions and 4 deletions

View File

@@ -463,7 +463,7 @@ class TinyGsmSim5360 : public TinyGsmModem<TinyGsmSim5360>,
/*
* Temperature functions
*/
protected:
// get temperature in degree celsius
float getTemperatureImpl() {
// Enable Temparature Reading

View File

@@ -554,7 +554,7 @@ class TinyGsmSim7600 : public TinyGsmModem<TinyGsmSim7600>,
/*
* Temperature functions
*/
protected:
// get temperature in degree celsius
uint16_t getTemperatureImpl() {
sendAT(GF("+CPMUTEMP"));

View File

@@ -622,7 +622,7 @@ class TinyGsmSaraR4 : public TinyGsmModem<TinyGsmSaraR4>,
/*
* Temperature functions
*/
protected:
float getTemperatureImpl() {
// First make sure the temperature is set to be in celsius
sendAT(GF("+UTEMP=0")); // Would use 1 for Fahrenheit

View File

@@ -378,7 +378,7 @@ class TinyGsmSequansMonarch
/*
* Temperature functions
*/
protected:
float getTemperatureImpl() {
sendAT(GF("+SMDTH"));
if (waitResponse(10000L, GF("+SMDTH: ")) != 1) {