summaryrefslogtreecommitdiff
path: root/common/debug_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/debug_config.h')
-rw-r--r--common/debug_config.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/common/debug_config.h b/common/debug_config.h
index e00fd10336..0e67ee49f4 100644
--- a/common/debug_config.h
+++ b/common/debug_config.h
@@ -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