Browse Source

Fix to stop

v_master
Sara Damiano 6 years ago
parent
commit
14fa076803
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmClientUBLOX.h

+ 1
- 1
src/TinyGsmClientUBLOX.h View File

@ -86,7 +86,6 @@ public:
}
virtual void stop() {
at->modemDisconnect(mux);
// Read and dump anything remaining in the u-blox buffer
// The socket will appear open in response to connected() even after it
// closes until all data is read from the buffer.
@ -96,6 +95,7 @@ public:
rx.clear();
at->maintain();
}
at->modemDisconnect(mux);
sock_connected = false;
}


Loading…
Cancel
Save