Browse Source

Checking if socket is connected before closing

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

+ 1
- 1
src/TinyGsmClientUBLOX.h View File

@ -65,7 +65,7 @@ public:
public:
virtual int connect(const char *host, uint16_t port) {
stop();
if (sock_connected) stop();
TINY_GSM_YIELD();
rx.clear();
sock_connected = at->modemConnect(host, port, &mux);


Loading…
Cancel
Save