Removed redundant debug begin

pull/13/head
jgromes 2019-02-23 10:50:14 +01:00
rodzic 9e720f56c5
commit 7d00dde817
2 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

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

Wyświetl plik

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