Unify debug

This commit is contained in:
Volodymyr Shymanskyy
2017-02-01 23:57:44 +02:00
parent 0633e39c5d
commit 0ebf881ec5
4 changed files with 11 additions and 11 deletions

View File

@@ -9,7 +9,7 @@
#ifndef TinyGsmClientM590_h
#define TinyGsmClientM590_h
//#define GSM_DEBUG Serial
//#define TINY_GSM_DEBUG Serial
#if !defined(TINY_GSM_RX_BUFFER)
#define TINY_GSM_RX_BUFFER 256
@@ -176,7 +176,7 @@ public:
if (waitResponse() != 1) {
return false;
}
#ifdef GSM_DEBUG
#ifdef TINY_GSM_DEBUG
sendAT(GF("+CMEE=2"));
waitResponse();
#endif