X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Fnodebug.h;h=5e18656e5bf180747a7137c2778a8603c87fe0ca;hb=3f02637f4dd765803671c2611191beb096d60b36;hp=93309ada4761f356ee82b7bba2b3871ad7a236dc;hpb=684793360cdb08ac1e50a6d27e1796fadd527adb;p=qmk_firmware.git 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 . */ #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