Fix compiler warnings
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -484,7 +484,7 @@ class TinyGsmBG96 : public TinyGsmModem<TinyGsmBG96>,
|
|||||||
* NTP server functions
|
* NTP server functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
byte NTPServerSyncImpl(String server = "pool.ntp.org", byte) {
|
byte NTPServerSyncImpl(String server = "pool.ntp.org", byte = -5) {
|
||||||
// Request network synchronization
|
// Request network synchronization
|
||||||
// AT+QNTP=<contextID>,<server>[,<port>][,<autosettime>]
|
// AT+QNTP=<contextID>,<server>[,<port>][,<autosettime>]
|
||||||
sendAT(GF("+QNTP=1,\""), server, '"');
|
sendAT(GF("+QNTP=1,\""), server, '"');
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ class TinyGsmUBLOX : public TinyGsmModem<TinyGsmUBLOX>,
|
|||||||
return (RegStatus)getRegistrationStatusXREG("CGREG");
|
return (RegStatus)getRegistrationStatusXREG("CGREG");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool setRadioAccessTecnology(int selected) {
|
bool setRadioAccessTecnology(int selected, int preferred) {
|
||||||
// selected:
|
// selected:
|
||||||
// 0: GSM / GPRS / eGPRS (single mode)
|
// 0: GSM / GPRS / eGPRS (single mode)
|
||||||
// 1: GSM / UMTS (dual mode)
|
// 1: GSM / UMTS (dual mode)
|
||||||
@@ -289,7 +289,7 @@ class TinyGsmUBLOX : public TinyGsmModem<TinyGsmUBLOX>,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool getCurrentRadioAccessTecnology(int & selected) {
|
bool getCurrentRadioAccessTecnology(int&) {
|
||||||
// @TODO
|
// @TODO
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user