Added pin parameter on restart() (necessary for init() with pin)

This commit is contained in:
Adrian Cervera Andes
2021-01-29 15:02:35 +01:00
parent 31bb5cbeed
commit a51cfda25d
15 changed files with 30 additions and 30 deletions

View File

@@ -53,8 +53,8 @@ class TinyGsmModem {
/*
* Power functions
*/
bool restart() {
return thisModem().restartImpl();
bool restart(const char* pin = NULL) {
return thisModem().restartImpl(pin);
}
bool poweroff() {
return thisModem().powerOffImpl();