Missing brace
This commit is contained in:
@@ -500,7 +500,7 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK()
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getBattChargeState()
|
uint8_t getBattChargeState() {
|
||||||
sendAT(GF("+CBC?"));
|
sendAT(GF("+CBC?"));
|
||||||
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
||||||
return false;
|
return false;
|
||||||
|
@@ -467,7 +467,7 @@ TINY_GSM_MODEM_GET_GPRS_IP_CONNECTED()
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getBattChargeState()
|
uint8_t getBattChargeState() {
|
||||||
sendAT(GF("+CBC?"));
|
sendAT(GF("+CBC?"));
|
||||||
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
||||||
return false;
|
return false;
|
||||||
|
@@ -515,7 +515,7 @@ TINY_GSM_MODEM_GET_GPRS_IP_CONNECTED()
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getBattChargeState()
|
uint8_t getBattChargeState() {
|
||||||
sendAT(GF("+CBC?"));
|
sendAT(GF("+CBC?"));
|
||||||
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
||||||
return false;
|
return false;
|
||||||
|
@@ -534,7 +534,7 @@ TINY_GSM_MODEM_GET_GPRS_IP_CONNECTED()
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getBattChargeState()
|
uint8_t getBattChargeState() {
|
||||||
sendAT(GF("+CBC?"));
|
sendAT(GF("+CBC?"));
|
||||||
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
||||||
return false;
|
return false;
|
||||||
|
@@ -755,7 +755,7 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK()
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getBattChargeState()
|
uint8_t getBattChargeState() {
|
||||||
sendAT(GF("+CBC?"));
|
sendAT(GF("+CBC?"));
|
||||||
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
||||||
return false;
|
return false;
|
||||||
|
@@ -678,7 +678,7 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK()
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t getBattChargeState()
|
uint8_t getBattChargeState() {
|
||||||
sendAT(GF("+CBC?"));
|
sendAT(GF("+CBC?"));
|
||||||
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
if (waitResponse(GF(GSM_NL "+CBC:")) != 1) {
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user