From 99e6f33f871a71eba05d15a9a8bfc85aaf977031 Mon Sep 17 00:00:00 2001 From: Sani7 Date: Wed, 22 Nov 2023 15:28:43 +0100 Subject: [PATCH] TFTP Fix the issue of putting logger level define to c file instead of header file --- project/Core/Inc/tftp.h | 1 - project/Core/Src/tftp.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Core/Inc/tftp.h b/project/Core/Inc/tftp.h index 48afcfa..eb99860 100644 --- a/project/Core/Inc/tftp.h +++ b/project/Core/Inc/tftp.h @@ -13,7 +13,6 @@ #ifdef __cplusplus extern "C" { #endif -#define LOGGER_LEVEL_ALL #include #include #include diff --git a/project/Core/Src/tftp.c b/project/Core/Src/tftp.c index 9164403..ac04312 100644 --- a/project/Core/Src/tftp.c +++ b/project/Core/Src/tftp.c @@ -4,6 +4,7 @@ * @author Sander S. */ +#define LOGGER_LEVEL_ALL #include "tftp.h" #define VIRT_INDEX_TXT 0