Skip to content
Snippets Groups Projects
Commit 2fe68d5b authored by Martine Lenders's avatar Martine Lenders
Browse files

Merge pull request #2747 from brummer-simon/fix-debug_makro

debug.h: check stacksize fixed
parents 45554bf3 b495c246
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ extern "C" { ...@@ -50,7 +50,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 > KERNEL_CONF_STACKSIZE_PRINTF)) { \ if ((sched_active_thread == NULL) || (sched_active_thread->stack_size >= KERNEL_CONF_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.
Finish editing this message first!
Please register or to comment