Browse Source

Some improvements

dependabot/github_actions/actions/checkout-4
Francesco Stefanni 3 years ago
parent
commit
28f7e7b298
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmClientSIM7000.h

+ 1
- 1
src/TinyGsmClientSIM7000.h View File

@ -694,7 +694,7 @@ class TinyGsmSim7000 : public TinyGsmModem<TinyGsmSim7000>,
sendAT(GF("+CASTATE?")); sendAT(GF("+CASTATE?"));
int8_t readMux = -1; int8_t readMux = -1;
while (readMux != mux) { while (readMux != mux) {
if (waitResponse(GF("+CASTATE:"),GF(GSM_OK)) != 1) {
if (waitResponse(3000, GF("+CASTATE:"),GF(GSM_OK)) != 1) {
return 0; return 0;
} }
readMux = streamGetIntBefore(','); readMux = streamGetIntBefore(',');


Loading…
Cancel
Save