forked from Archive/PX4-Autopilot
Fix includes for debug output.
This commit is contained in:
parent
8c0c979655
commit
03a82e0a03
|
@ -56,10 +56,11 @@
|
|||
* Debug logging
|
||||
*/
|
||||
|
||||
#if 1
|
||||
# define debug(fmt, ...) lib_lowprintf(fmt "\n", ##args)
|
||||
#ifdef DEBUG
|
||||
# include <debug.h>
|
||||
# define debug(fmt, args...) lib_lowprintf(fmt "\n", ##args)
|
||||
#else
|
||||
# define debug(fmt, ...) do {} while(0)
|
||||
# define debug(fmt, args...) do {} while(0)
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue