Use config.h to define DEBUGS

pull/126/head
3d-gussner 2021-09-29 18:58:30 +02:00 committed by DRracer
parent dbf26d13ac
commit 28c8e09bcf
2 changed files with 9 additions and 1 deletions

View File

@ -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 {

View File

@ -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__)