From 0a5baf7e2a102db282904be82fc85b0ebadffb5a Mon Sep 17 00:00:00 2001 From: SRGDamia1 Date: Sun, 9 Apr 2017 02:10:40 -0400 Subject: [PATCH] Debug off by default --- TinyGsmClientSIM800.h | 4 +++- TinyGsmClientXBee.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/TinyGsmClientSIM800.h b/TinyGsmClientSIM800.h index f0c8738..046483a 100644 --- a/TinyGsmClientSIM800.h +++ b/TinyGsmClientSIM800.h @@ -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); } diff --git a/TinyGsmClientXBee.h b/TinyGsmClientXBee.h index ff7f1e2..69f9ff4 100644 --- a/TinyGsmClientXBee.h +++ b/TinyGsmClientXBee.h @@ -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