Fix some warnings

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2024-05-24 12:03:25 -04:00
parent cdfe99a696
commit c1a0c4e3e1
3 changed files with 7 additions and 2 deletions

View File

@@ -526,6 +526,7 @@ class TinyGsmSim5360 : public TinyGsmModem<TinyGsmSim5360>,
if (alt != nullptr) *alt = ialt;
if (vsat != nullptr) *vsat = ivsat;
if (usat != nullptr) *usat = iusat;
if (accuracy != nullptr) *accuracy = -9999;
if (iyear < 2000) iyear += 2000;
if (year != nullptr) *year = iyear;
if (month != nullptr) *month = imonth;

View File

@@ -302,8 +302,8 @@ class TinyGsmSequansMonarch
return waitResponse() == 1;
}
bool setPhoneFunctionality(uint8_t fun,
bool reset = false) TINY_GSM_ATTR_NOT_IMPLEMENTED;
bool setPhoneFunctionalityImpl(uint8_t fun, bool reset = false)
TINY_GSM_ATTR_NOT_IMPLEMENTED;
/*
* Generic network functions

View File

@@ -117,6 +117,10 @@ class TinyGsmTime {
thisModem().waitResponse();
return true;
}
bool getNetworkUTCTimeImpl(int* year, int* month, int* day, int* hour,
int* minute, int* second,
float* timezone) TINY_GSM_ATTR_NOT_IMPLEMENTED;
};
#endif // SRC_TINYGSMTIME_H_