Skip to content
Snippets Groups Projects
Unverified Commit 202fd41b authored by Francisco Acosta's avatar Francisco Acosta Committed by GitHub
Browse files

Merge pull request #9151 from ZetaR60/RIOT_isr_debug

core/debug: fix debug.h use within ISRs
parents 88aaa623 38a30b68
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ extern "C" { ...@@ -52,7 +52,7 @@ extern "C" {
#include "cpu_conf.h" #include "cpu_conf.h"
#define DEBUG_PRINT(...) \ #define DEBUG_PRINT(...) \
do { \ 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__); \ printf(__VA_ARGS__); \
} \ } \
else { \ else { \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment