diff --git a/include/common/debug.h b/include/common/debug.h index f8bdbd3e3..1e529853f 100644 --- a/include/common/debug.h +++ b/include/common/debug.h @@ -25,9 +25,15 @@ #include #ifdef DEBUG_FULL -#define DPRINTF(x...) fprintf(args) +#define DPRINTF(x...) fprintf(x) #else #define DPRINTF(x...) #endif +#ifdef DEBUG_FSM +#define FSM_PRINTF(x...) fprintf(x) +#else +#define FSM_PRINTF(x...) +#endif + #endif /* _COMMON_DEBUG_H */