From 32bf5abf993ee94af9da89a513b64349536fbd11 Mon Sep 17 00:00:00 2001 From: Sam Perry <17242713+sdp8483@users.noreply.github.com> Date: Fri, 23 Dec 2022 17:43:21 -0500 Subject: [PATCH] remove if esp32can_debug --- src/ESP32CAN.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ESP32CAN.h b/src/ESP32CAN.h index 7ce4893..c0572bf 100644 --- a/src/ESP32CAN.h +++ b/src/ESP32CAN.h @@ -8,12 +8,10 @@ #include "driver/twai.h" /* Defines ------------------------------------------------------------------- */ -#ifndef ESP32CAN_DEBUG -#define ESP32CAN_DEBUG 1 /* 1 to serial print */ -#endif +#define ESP32CAN_DEBUG /* serial print debug info */ /* Macros -------------------------------------------------------------------- */ -#if (ESP32CAN_DEBUG == 1) +#ifdef ESP32CAN_DEBUG #define debugPrint(x) Serial.print(x) #define debugPrintln(x) Serial.println(x) #else