Browse Source

Missing brace

v_master
Sara Damiano 5 years ago
parent
commit
62182e11c9
6 changed files with 6 additions and 6 deletions
  1. +1
    -1
      src/TinyGsmClientA6.h
  2. +1
    -1
      src/TinyGsmClientBG96.h
  3. +1
    -1
      src/TinyGsmClientM95.h
  4. +1
    -1
      src/TinyGsmClientMC60.h
  5. +1
    -1
      src/TinyGsmClientSIM7000.h
  6. +1
    -1
      src/TinyGsmClientSIM800.h

+ 1
- 1
src/TinyGsmClientA6.h 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;


+ 1
- 1
src/TinyGsmClientBG96.h 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;


+ 1
- 1
src/TinyGsmClientM95.h 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;


+ 1
- 1
src/TinyGsmClientMC60.h 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;


+ 1
- 1
src/TinyGsmClientSIM7000.h 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;


+ 1
- 1
src/TinyGsmClientSIM800.h 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;


Loading…
Cancel
Save