Selaa lähdekoodia

fix dz60rgb config.qmk.fm non-combile (#5356)

* Update config.h

* Update config.h

* Update config.h

* Delete config.h

* Update config.h

* Update config.h

* Update config.h

* Delete config.h
moyi4681 6 vuotta sitten
vanhempi
commit
c8ad13d0f9

+ 2 - 1
keyboards/dztech/dz60rgb/config.h

@@ -31,4 +31,5 @@
 #define DRIVER_ADDR_1 0b1010000
 #define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
 #define DRIVER_COUNT 2
-
+#define DRIVER_1_LED_TOTAL 63
+#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL

+ 2 - 0
keyboards/dztech/dz60rgb/keymaps/ansi/config.h

@@ -1,4 +1,6 @@
 #pragma once
 #define dzrgb60_ansi
+#undef DRIVER_1_LED_TOTAL
+#undef DRIVER_LED_TOTAL
 #define DRIVER_1_LED_TOTAL 61
 #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL

+ 0 - 3
keyboards/dztech/dz60rgb/keymaps/default/config.h

@@ -1,3 +0,0 @@
-#pragma once
-#define DRIVER_1_LED_TOTAL 63
-#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL

+ 2 - 0
keyboards/dztech/dz60rgb/keymaps/hhkb/config.h

@@ -1,4 +1,6 @@
 #pragma once
 #define dzrgb60_hhkb
+#undef DRIVER_1_LED_TOTAL
+#undef DRIVER_LED_TOTAL
 #define DRIVER_1_LED_TOTAL 62
 #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL

+ 2 - 0
keyboards/dztech/dz60rgb/keymaps/hhkb_iso/config.h

@@ -1,4 +1,6 @@
 #pragma once
 #define dzrgb60_hhkb_iso
+#undef DRIVER_1_LED_TOTAL
+#undef DRIVER_LED_TOTAL
 #define DRIVER_1_LED_TOTAL 62
 #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL

+ 2 - 0
keyboards/dztech/dz60rgb/keymaps/iso/config.h

@@ -1,4 +1,6 @@
 #pragma once
 #define dzrgb60_iso
+#undef DRIVER_1_LED_TOTAL
+#undef DRIVER_LED_TOTAL
 #define DRIVER_1_LED_TOTAL 61
 #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL

+ 0 - 3
keyboards/dztech/dz60rgb/keymaps/mekanist/config.h

@@ -1,3 +0,0 @@
-#pragma once
-#define DRIVER_1_LED_TOTAL 63
-#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL