From b495c24609cfa3da15766b4564d8e5dba7a8a909 Mon Sep 17 00:00:00 2001 From: Simon Brummer Date: Tue, 31 Mar 2015 12:42:19 +0200 Subject: [PATCH] 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 d28d854e2d..da7db3efbe 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 { \