Change define name

- "DEBUG" is also used by STM32 for... something...
This commit is contained in:
2026-06-18 13:37:57 +02:00
parent ef034f3195
commit 1ad8e5b04f
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -45,10 +45,10 @@ extern "C" {
/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */
#define DEBUG
#define DEBUG_ITM
#define DEBUG_DUMMY_FRAME
#ifdef DEBUG
#ifdef DEBUG_ITM
#include <stdio.h>
#define DEBUG_PRINT(...) printf(__VA_ARGS__)
#else
+1
View File
@@ -135,5 +135,6 @@ void vUARTLogger(void *argument)
DEBUG_PRINT("CAN frame sent via UART\r\n");
}
}
}
}
/* END vUARTLoggerListen */