]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Fixed NO_PRINT / USER_PRINT conflict warning.
authorIBNobody <ibnobody@gmail.com>
Tue, 13 Sep 2016 01:20:31 +0000 (20:20 -0500)
committerIBNobody <ibnobody@gmail.com>
Tue, 13 Sep 2016 01:20:31 +0000 (20:20 -0500)
keyboards/atomic/keymaps/pvc/Makefile
tmk_core/common/command.c

index ebd75e313f98a826b8c75713d42636822a05d03c..c7c04485fcea80023fb571aa7dec910bed430a68 100644 (file)
@@ -1,4 +1,4 @@
-BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
+BOOTMAGIC_ENABLE = no  # Virtual DIP switch configuration(+1000)
 MOUSEKEY_ENABLE  = yes # Mouse keys(+4700)
 EXTRAKEY_ENABLE  = yes # Audio control and System control(+450)
 CONSOLE_ENABLE   = yes # Console for debug(+400)
index 54d6117fd1907472d61cf06cdf3b024638edeec4..fc5aad5c1ded3de032d4667323b4dd96cbf28298 100644 (file)
@@ -261,7 +261,10 @@ static void print_status(void)
 #ifdef BOOTMAGIC_ENABLE
 static void print_eeconfig(void)
 {
-#ifndef NO_PRINT
+
+// Print these variables if NO_PRINT or USER_PRINT are not defined.
+#if !defined(NO_PRINT) && !defined(USER_PRINT)
+
     print("default_layer: "); print_dec(eeconfig_read_default_layer()); print("\n");
 
     debug_config_t dc;
@@ -571,7 +574,8 @@ static uint8_t mousekey_param = 0;
 
 static void mousekey_param_print(void)
 {
-#ifndef NO_PRINT
+// Print these variables if NO_PRINT or USER_PRINT are not defined.
+#if !defined(NO_PRINT) && !defined(USER_PRINT)
     print("\n\t- Values -\n");
     print("1: delay(*10ms): "); pdec(mk_delay); print("\n");
     print("2: interval(ms): "); pdec(mk_interval); print("\n");