diff --git a/src/config/config.h b/src/config/config.h index efd7934..b17cf73 100644 --- a/src/config/config.h +++ b/src/config/config.h @@ -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 { diff --git a/src/debug.h b/src/debug.h index d84436e..3e6b6a0 100644 --- a/src/debug.h +++ b/src/debug.h @@ -2,7 +2,7 @@ #include /// 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__)