remove if esp32can_debug
This commit is contained in:
parent
13be1319b2
commit
32bf5abf99
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue