diff options
author | tmk <nobody@nowhere> | 2013-03-11 15:28:14 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-03-11 15:28:46 +0900 |
commit | ef8439bddb2d7fe5fd95faf2b6bebd8235acf160 (patch) | |
tree | 4af03a20658cb7e6cd43f9c65dfa002f1b544332 /common/command.c | |
parent | d055e0633e36e97802d60554f6002e47021ba5fd (diff) | |
download | qmk_firmware-ef8439bddb2d7fe5fd95faf2b6bebd8235acf160.tar.gz qmk_firmware-ef8439bddb2d7fe5fd95faf2b6bebd8235acf160.zip |
Add build option BOOTMAGIC_ENABLE
Diffstat (limited to 'common/command.c')
-rw-r--r-- | common/command.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/command.c b/common/command.c index d7ba3f232a..372ca291e2 100644 --- a/common/command.c +++ b/common/command.c @@ -123,6 +123,7 @@ static void command_common_help(void) print("Paus: jump to bootloader\n"); } +#ifdef BOOTMAGIC_ENABLE static void print_eeprom_config(void) { uint8_t eebyte; @@ -145,15 +146,18 @@ static void print_eeprom_config(void) print("keyconf.swap_grave_esc: "); print_hex8(kc.swap_grave_esc); print("\n"); print("keyconf.swap_backslash_backspace: "); print_hex8(kc.swap_backslash_backspace); print("\n"); } +#endif static bool command_common(uint8_t code) { static host_driver_t *host_driver = 0; switch (code) { +#ifdef BOOTMAGIC_ENABLE case KC_E: print("eeprom config\n"); print_eeprom_config(); break; +#endif case KC_CAPSLOCK: if (host_get_driver()) { host_driver = host_get_driver(); |