]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - tmk_core/common/nodebug.h
Backlight Breathing for Planck and Atomic
[qmk_firmware.git] / tmk_core / common / nodebug.h
index 93309ada4761f356ee82b7bba2b3871ad7a236dc..5e18656e5bf180747a7137c2778a8603c87fe0ca 100644 (file)
@@ -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