From 5214e14e66cf8f02a5da492092e769817d8ce3a3 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Tue, 31 Mar 2015 22:38:04 +0200 Subject: [PATCH] Revert "debug.h: check stacksize fixed" --- core/include/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/include/debug.h b/core/include/debug.h index da7db3efbe..d28d854e2d 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 { \