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