From 7d00dde8170411b1b00d8816569aaaf38923e747 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 23 Feb 2019 10:50:14 +0100 Subject: [PATCH] Removed redundant debug begin --- src/Module.cpp | 3 --- src/TypeDef.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/Module.cpp b/src/Module.cpp index ba51d06f..59f9a8c9 100644 --- a/src/Module.cpp +++ b/src/Module.cpp @@ -29,9 +29,6 @@ Module::Module(int cs, int rx, int tx, int int0, int int1) { } void Module::init(uint8_t interface, uint8_t gpio) { - DEBUG_BEGIN(9600); - DEBUG_PRINTLN(); - switch(interface) { case USE_SPI: pinMode(_cs, OUTPUT); diff --git a/src/TypeDef.h b/src/TypeDef.h index 8f731564..01ae29d9 100644 --- a/src/TypeDef.h +++ b/src/TypeDef.h @@ -10,11 +10,9 @@ //#define RADIOLIB_DEBUG #ifdef RADIOLIB_DEBUG - #define DEBUG_BEGIN(...) { Serial.begin(__VA_ARGS__); } #define DEBUG_PRINT(...) { Serial.print(__VA_ARGS__); } #define DEBUG_PRINTLN(...) { Serial.println(__VA_ARGS__); } #else - #define DEBUG_BEGIN(...) {} #define DEBUG_PRINT(...) {} #define DEBUG_PRINTLN(...) {} #endif