diff options
author | Chris Browne <cbbrowne@hpaq.int.linuxdatabases.info> | 2016-10-10 17:18:15 -0400 |
---|---|---|
committer | Chris Browne <cbbrowne@hpaq.int.linuxdatabases.info> | 2016-10-10 17:18:15 -0400 |
commit | 4b682ea63e2b3dd0bc1132917be7985ce0da57a6 (patch) | |
tree | 6d79874c5542148c27907511ecdb2e9e5e12b24b /tmk_core/common/nodebug.h | |
parent | 04759d63ef9b520fc41d76de64bb65198448fc1c (diff) | |
parent | a9df99b81c787862dc3fa11bd854fe39e704da81 (diff) |
Merge branch 'master' of github.com:cbbrowne/qmk_firmware
Diffstat (limited to 'tmk_core/common/nodebug.h')
-rw-r--r-- | tmk_core/common/nodebug.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tmk_core/common/nodebug.h b/tmk_core/common/nodebug.h index 93309ada47..5e18656e5b 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 |