diff options
Diffstat (limited to 'common/debug_config.h')
| -rw-r--r-- | common/debug_config.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/common/debug_config.h b/common/debug_config.h index e00fd1033..0e67ee49f 100644 --- a/common/debug_config.h +++ b/common/debug_config.h | |||
| @@ -38,14 +38,15 @@ typedef union { | |||
| 38 | } debug_config_t; | 38 | } debug_config_t; |
| 39 | debug_config_t debug_config; | 39 | debug_config_t debug_config; |
| 40 | 40 | ||
| 41 | #ifdef __cplusplus | ||
| 42 | } | ||
| 43 | #endif | ||
| 44 | |||
| 45 | |||
| 41 | /* for backward compatibility */ | 46 | /* for backward compatibility */ |
| 42 | #define debug_enable (debug_config.enable) | 47 | #define debug_enable (debug_config.enable) |
| 43 | #define debug_matrix (debug_config.matrix) | 48 | #define debug_matrix (debug_config.matrix) |
| 44 | #define debug_keyboard (debug_config.keyboard) | 49 | #define debug_keyboard (debug_config.keyboard) |
| 45 | #define debug_mouse (debug_config.mouse) | 50 | #define debug_mouse (debug_config.mouse) |
| 46 | 51 | ||
| 47 | #ifdef __cplusplus | ||
| 48 | } | ||
| 49 | #endif | ||
| 50 | |||
| 51 | #endif | 52 | #endif |
