From b8d044301a3d3b7cc8513218b9ffabfd0ee68689 Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Thu, 18 Jun 2026 13:37:57 +0200 Subject: [PATCH] Change define name - "DEBUG" is also used by STM32 for... something... --- Core/Inc/main.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Inc/main.h b/Core/Inc/main.h index 58462c7..61e7cd4 100644 --- a/Core/Inc/main.h +++ b/Core/Inc/main.h @@ -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 #define DEBUG_PRINT(...) printf(__VA_ARGS__) #else