Missing brace

This commit is contained in:
Sara Damiano
2019-05-22 13:10:31 -04:00
parent 880c4614e4
commit 62182e11c9
6 changed files with 6 additions and 6 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;