aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/libmaple.h
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-09-05 19:11:01 -0400
committerbnewbold <bnewbold@robocracy.org>2010-09-05 22:59:16 -0400
commit340cdc7966fbda1a28ce011cbaaeb6878b0b6064 (patch)
treee14de3f9d6db73fa7d015214b675ca31c250895f /libmaple/libmaple.h
parentb6e3624a705b36b15e7f4c0637d133c7dab059bd (diff)
downloadlibrambutan-340cdc7966fbda1a28ce011cbaaeb6878b0b6064.tar.gz
librambutan-340cdc7966fbda1a28ce011cbaaeb6878b0b6064.zip
debug verbosity levels
Diffstat (limited to 'libmaple/libmaple.h')
-rw-r--r--libmaple/libmaple.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h
index db05c96..c5763c8 100644
--- a/libmaple/libmaple.h
+++ b/libmaple/libmaple.h
@@ -34,7 +34,11 @@
#include "libmaple_types.h"
// General configuration
-#define MAPLE_DEBUG 1
+#ifndef DEBUG_LEVEL
+ //#define DEBUG_LEVEL DEBUG_ALL
+ #define DEBUG_LEVEL DEBUG_FAULT
+ //#define DEBUG_LEVEL DEBUG_NONE
+#endif
// MCU-specific configuration
#ifdef MCU_STM32F103RB