Use config.h to define DEBUGS
parent
dbf26d13ac
commit
28c8e09bcf
|
|
@ -5,8 +5,15 @@
|
|||
/// Define Debug mode to add additional serial output
|
||||
|
||||
//#define DEBUG_FINDA
|
||||
/// Enable DEBUG_LOGIC to compile debugging and error messages (beware of code base size ;) ) for the logic layer
|
||||
//#define DEBUG_LOGIC
|
||||
|
||||
/// Enable DEBUG_LOGIC to compile debugging and error messages (beware of code base size ;) ) for the logic layer
|
||||
//#define DEBUG_MODULES
|
||||
|
||||
/// Enable DEBUG_HAL to compile debugging and error messages (beware of code base size ;) ) for the logic layer
|
||||
//#define DEBUG_HAL
|
||||
|
||||
/// Wrangler for assorted compile-time configuration and constants.
|
||||
namespace config {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include <stdint.h>
|
||||
|
||||
/// Enable DEBUG_LOGIC to compile debugging and error messages (beware of code base size ;) ) for the logic layer
|
||||
#define DEBUG_LOGIC
|
||||
//#define DEBUG_LOGIC
|
||||
|
||||
/// Enable DEBUG_LOGIC to compile debugging and error messages (beware of code base size ;) ) for the logic layer
|
||||
//#define DEBUG_MODULES
|
||||
|
|
@ -36,6 +36,7 @@ extern const char modules[];
|
|||
#else
|
||||
#define dbg_modules(x) /* */
|
||||
#define dbg_modules_P(x) /* */
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG_HAL) && defined(__AVR__)
|
||||
|
|
|
|||
Loading…
Reference in New Issue