mirror of
https://github.com/vshymanskyy/TinyGSM.git
synced 2026-05-15 04:06:10 +00:00
Fix some warnings
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user