Removed redundant debug begin

This commit is contained in:
jgromes 2019-02-23 10:50:14 +01:00
parent 9e720f56c5
commit 7d00dde817
2 changed files with 0 additions and 5 deletions

View file

@ -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);

View file

@ -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