diff options
author | IBNobody <ibnobody@gmail.com> | 2016-09-12 20:20:31 -0500 |
---|---|---|
committer | IBNobody <ibnobody@gmail.com> | 2016-09-12 20:20:31 -0500 |
commit | cb1ac2a3edf637a3e2ecb53f0627212d1f5abb08 (patch) | |
tree | bb2632801e4459b5d8bd21f5e110b70d902990b8 /tmk_core/common/command.c | |
parent | e9a093451ea13b18b5dc60d427244efeba593da5 (diff) | |
download | qmk_firmware-cb1ac2a3edf637a3e2ecb53f0627212d1f5abb08.tar.gz qmk_firmware-cb1ac2a3edf637a3e2ecb53f0627212d1f5abb08.zip |
Fixed NO_PRINT / USER_PRINT conflict warning.
Diffstat (limited to 'tmk_core/common/command.c')
-rw-r--r-- | tmk_core/common/command.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tmk_core/common/command.c b/tmk_core/common/command.c index 54d6117fd..fc5aad5c1 100644 --- a/tmk_core/common/command.c +++ b/tmk_core/common/command.c | |||
@@ -261,7 +261,10 @@ static void print_status(void) | |||
261 | #ifdef BOOTMAGIC_ENABLE | 261 | #ifdef BOOTMAGIC_ENABLE |
262 | static void print_eeconfig(void) | 262 | static void print_eeconfig(void) |
263 | { | 263 | { |
264 | #ifndef NO_PRINT | 264 | |
265 | // Print these variables if NO_PRINT or USER_PRINT are not defined. | ||
266 | #if !defined(NO_PRINT) && !defined(USER_PRINT) | ||
267 | |||
265 | print("default_layer: "); print_dec(eeconfig_read_default_layer()); print("\n"); | 268 | print("default_layer: "); print_dec(eeconfig_read_default_layer()); print("\n"); |
266 | 269 | ||
267 | debug_config_t dc; | 270 | debug_config_t dc; |
@@ -571,7 +574,8 @@ static uint8_t mousekey_param = 0; | |||
571 | 574 | ||
572 | static void mousekey_param_print(void) | 575 | static void mousekey_param_print(void) |
573 | { | 576 | { |
574 | #ifndef NO_PRINT | 577 | // Print these variables if NO_PRINT or USER_PRINT are not defined. |
578 | #if !defined(NO_PRINT) && !defined(USER_PRINT) | ||
575 | print("\n\t- Values -\n"); | 579 | print("\n\t- Values -\n"); |
576 | print("1: delay(*10ms): "); pdec(mk_delay); print("\n"); | 580 | print("1: delay(*10ms): "); pdec(mk_delay); print("\n"); |
577 | print("2: interval(ms): "); pdec(mk_interval); print("\n"); | 581 | print("2: interval(ms): "); pdec(mk_interval); print("\n"); |