Debug off by default

This commit is contained in:
SRGDamia1
2017-04-09 02:10:40 -04:00
parent 3b0e70441d
commit 0a5baf7e2a
2 changed files with 4 additions and 2 deletions

View File

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

View File

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