From ff533075997dd4bdaa12b6d434e79a35880e9c8c Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Thu, 22 Oct 2020 01:02:11 +0200 Subject: [PATCH] core/*: reorder ENABLE_DEBUG after last include --- core/init.c | 6 +++--- core/thread.c | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/core/init.c b/core/init.c index f0254d993c..dbb6a60df0 100644 --- a/core/init.c +++ b/core/init.c @@ -29,13 +29,13 @@ #include "periph/pm.h" -#define ENABLE_DEBUG (0) -#include "debug.h" - #ifdef MODULE_AUTO_INIT #include #endif +#define ENABLE_DEBUG 0 +#include "debug.h" + #ifndef CONFIG_BOOT_MSG_STRING #define CONFIG_BOOT_MSG_STRING "main(): This is RIOT! (Version: " RIOT_VERSION ")" #endif diff --git a/core/thread.c b/core/thread.c index f943a15416..a8172209a0 100644 --- a/core/thread.c +++ b/core/thread.c @@ -28,11 +28,12 @@ #include "thread.h" #include "irq.h" -#define ENABLE_DEBUG (0) -#include "debug.h" #include "bitarithm.h" #include "sched.h" +#define ENABLE_DEBUG 0 +#include "debug.h" + thread_status_t thread_getstatus(kernel_pid_t pid) { thread_t *thread = thread_get(pid);