1
0
Fork 0

Add initializer of debug_config for GCC < 4.6.0(#144)

This commit is contained in:
tmk 2014-11-14 22:53:25 +09:00
parent 8180709132
commit a58b9ddbd5
2 changed files with 12 additions and 3 deletions

View file

@ -27,7 +27,6 @@ extern "C" {
/* NOTE: Not portable. Bit field order depends on implementation */
typedef union {
uint8_t raw;
struct {
bool enable:1;
bool matrix:1;
@ -35,6 +34,7 @@ typedef union {
bool mouse:1;
uint8_t reserved:4;
};
uint8_t raw;
} debug_config_t;
extern debug_config_t debug_config;