]> cloudbase.mooo.com Git - z180-stamp.git/blame - stm32/debug.h
Card detect over cs pin: clean initialisation/power up
[z180-stamp.git] / stm32 / debug.h
CommitLineData
6b81b39f
L
1
2#ifndef DEBUG_H_
3#define DEBUG_H_
4
5#ifdef DEBUG
6#define DBG_P(lvl, ...) if (DEBUG>=lvl) fprintf( stderr, __VA_ARGS__ )
7#else
8#define DBG_P(lvl, ...)
9#endif
10
11#endif /* DEBUG_H_ */