]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - common/debug_config.h
Fix print and timer
[tmk_firmware.git] / common / debug_config.h
index e00fd10336768d2e8a0d289c6fe9aedcfdd7d8d4..0e67ee49f46274bb7043217b7058b64c5c5fd346 100644 (file)
@@ -38,14 +38,15 @@ typedef union {
 } debug_config_t;
 debug_config_t debug_config;
 
+#ifdef __cplusplus
+}
+#endif
+
+
 /* for backward compatibility */
 #define debug_enable    (debug_config.enable)
 #define debug_matrix    (debug_config.matrix)
 #define debug_keyboard  (debug_config.keyboard)
 #define debug_mouse     (debug_config.mouse)
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif