Fix compiler warnings

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2021-05-19 11:31:43 -04:00
parent b6a86862cb
commit c9ebf60e3c
2 changed files with 4 additions and 4 deletions

View File

@@ -484,7 +484,7 @@ class TinyGsmBG96 : public TinyGsmModem<TinyGsmBG96>,
* NTP server functions
*/
byte NTPServerSyncImpl(String server = "pool.ntp.org", byte) {
byte NTPServerSyncImpl(String server = "pool.ntp.org", byte = -5) {
// Request network synchronization
// AT+QNTP=<contextID>,<server>[,<port>][,<autosettime>]
sendAT(GF("+QNTP=1,\""), server, '"');

View File

@@ -271,7 +271,7 @@ class TinyGsmUBLOX : public TinyGsmModem<TinyGsmUBLOX>,
return (RegStatus)getRegistrationStatusXREG("CGREG");
}
bool setRadioAccessTecnology(int selected) {
bool setRadioAccessTecnology(int selected, int preferred) {
// selected:
// 0: GSM / GPRS / eGPRS (single mode)
// 1: GSM / UMTS (dual mode)
@@ -289,7 +289,7 @@ class TinyGsmUBLOX : public TinyGsmModem<TinyGsmUBLOX>,
return true;
}
bool getCurrentRadioAccessTecnology(int & selected) {
bool getCurrentRadioAccessTecnology(int&) {
// @TODO
return false;
}