Browse Source

Debug off by default

v_master
SRGDamia1 7 years ago
parent
commit
0a5baf7e2a
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      TinyGsmClientSIM800.h
  2. +1
    -1
      TinyGsmClientXBee.h

+ 3
- 1
TinyGsmClientSIM800.h View File

@ -674,9 +674,11 @@ private:
buf[0] = streamRead();
buf[1] = streamRead();
char c = strtol(buf, NULL, 16);
// DBG(c);
#else
while (!stream.available()) {}
char c = streamRead(); // DBG(c);
char c = streamRead();
// DBG(c);
#endif
sockets[mux]->rx.put(c);
}


+ 1
- 1
TinyGsmClientXBee.h View File

@ -9,7 +9,7 @@
#ifndef TinyWiFiClientXBee_h
#define TinyWiFiClientXBee_h
#define TINY_GSM_DEBUG Serial
// #define TINY_GSM_DEBUG Serial
#if !defined(TINY_GSM_RX_BUFFER)
#define TINY_GSM_RX_BUFFER 256


Loading…
Cancel
Save