Merge pull request #9151 from ZetaR60/RIOT_isr_debug
core/debug: fix debug.h use within ISRs
This commit is contained in:
commit
202fd41b88
@ -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 { \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user