diff --git a/core/include/debug.h b/core/include/debug.h
index d28d854e2dce98c17c478ee1e991461115796a9f..da7db3efbe772bca8c113eaf239791190c517d3b 100644
--- a/core/include/debug.h
+++ b/core/include/debug.h
@@ -50,7 +50,7 @@ extern "C" {
 #include "cpu-conf.h"
 #define DEBUG_PRINT(...) \
     do { \
-        if ((sched_active_thread == NULL) || (sched_active_thread->stack_size > KERNEL_CONF_STACKSIZE_PRINTF)) { \
+        if ((sched_active_thread == NULL) || (sched_active_thread->stack_size >= KERNEL_CONF_STACKSIZE_PRINTF)) { \
             printf(__VA_ARGS__); \
         } \
         else { \