remove if esp32can_debug

This commit is contained in:
Sam Perry 2022-12-23 17:43:21 -05:00
parent 13be1319b2
commit 32bf5abf99

View file

@ -8,12 +8,10 @@
#include "driver/twai.h" #include "driver/twai.h"
/* Defines ------------------------------------------------------------------- */ /* Defines ------------------------------------------------------------------- */
#ifndef ESP32CAN_DEBUG #define ESP32CAN_DEBUG /* serial print debug info */
#define ESP32CAN_DEBUG 1 /* 1 to serial print */
#endif
/* Macros -------------------------------------------------------------------- */ /* Macros -------------------------------------------------------------------- */
#if (ESP32CAN_DEBUG == 1) #ifdef ESP32CAN_DEBUG
#define debugPrint(x) Serial.print(x) #define debugPrint(x) Serial.print(x)
#define debugPrintln(x) Serial.println(x) #define debugPrintln(x) Serial.println(x)
#else #else