diff --git a/core/include/debug.h b/core/include/debug.h index 21a3a7a25f..618f2582ed 100644 --- a/core/include/debug.h +++ b/core/include/debug.h @@ -52,7 +52,7 @@ extern "C" { #include "cpu_conf.h" #define DEBUG_PRINT(...) \ do { \ - if ((sched_active_thread == NULL) || (sched_active_thread->stack_size > THREAD_EXTRA_STACKSIZE_PRINTF)) { \ + if ((sched_active_thread == NULL) || (sched_active_thread->stack_size >= THREAD_EXTRA_STACKSIZE_PRINTF)) { \ printf(__VA_ARGS__); \ } \ else { \