From 38a30b68c27630088e5699fa18886bc0f58efa30 Mon Sep 17 00:00:00 2001 From: Matthew Blue Date: Thu, 17 May 2018 17:06:44 -0400 Subject: [PATCH] core/debug: fix debug.h use within ISRs --- 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 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 { \