summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/nodebug.h
diff options
context:
space:
mode:
authorStephan Bösebeck <sb@caluga.de>2016-05-11 22:05:19 +0200
committerStephan Bösebeck <sb@caluga.de>2016-05-11 22:05:19 +0200
commitd09d2da1c25b377b0f68ea83706903344c240ae1 (patch)
treedc3e88ef91206ccc251af32543a01ec2e7a7c208 /tmk_core/common/nodebug.h
parent2e02886a1ec6d92c07f1edd13d4e68af1e861991 (diff)
parent5845eb05b53ea685c9622abf011870ab4ce84f39 (diff)
downloadqmk_firmware-d09d2da1c25b377b0f68ea83706903344c240ae1.tar.gz
qmk_firmware-d09d2da1c25b377b0f68ea83706903344c240ae1.tar.xz
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'tmk_core/common/nodebug.h')
-rw-r--r--tmk_core/common/nodebug.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/tmk_core/common/nodebug.h b/tmk_core/common/nodebug.h
index 93309ada4..5e18656e5 100644
--- a/tmk_core/common/nodebug.h
+++ b/tmk_core/common/nodebug.h
@@ -16,10 +16,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef NODEBUG_H
-#define NODEBUG_H 1
+#define NODEBUG_H
-#define NO_DEBUG
-#include "debug.h"
-#undef NO_DEBUG
+#ifndef NO_DEBUG
+ #define NO_DEBUG
+ #include "debug.h"
+ #undef NO_DEBUG
+#else
+ #include "debug.h"
+#endif
#endif