From c8ad13d0f970c7f424ea5da48181ad449f4ae09f Mon Sep 17 00:00:00 2001 From: moyi4681 Date: Mon, 11 Mar 2019 01:15:53 +0800 Subject: 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 --- keyboards/dztech/dz60rgb/config.h | 3 ++- keyboards/dztech/dz60rgb/keymaps/ansi/config.h | 2 ++ keyboards/dztech/dz60rgb/keymaps/default/config.h | 3 --- keyboards/dztech/dz60rgb/keymaps/hhkb/config.h | 2 ++ keyboards/dztech/dz60rgb/keymaps/hhkb_iso/config.h | 2 ++ keyboards/dztech/dz60rgb/keymaps/iso/config.h | 2 ++ keyboards/dztech/dz60rgb/keymaps/mekanist/config.h | 3 --- 7 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 keyboards/dztech/dz60rgb/keymaps/default/config.h delete mode 100644 keyboards/dztech/dz60rgb/keymaps/mekanist/config.h diff --git a/keyboards/dztech/dz60rgb/config.h b/keyboards/dztech/dz60rgb/config.h index 814cb6520..a1b3a19d9 100644 --- a/keyboards/dztech/dz60rgb/config.h +++ b/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 diff --git a/keyboards/dztech/dz60rgb/keymaps/ansi/config.h b/keyboards/dztech/dz60rgb/keymaps/ansi/config.h index 2e7122b3c..3ca582e84 100644 --- a/keyboards/dztech/dz60rgb/keymaps/ansi/config.h +++ b/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 diff --git a/keyboards/dztech/dz60rgb/keymaps/default/config.h b/keyboards/dztech/dz60rgb/keymaps/default/config.h deleted file mode 100644 index 558b6023d..000000000 --- a/keyboards/dztech/dz60rgb/keymaps/default/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once -#define DRIVER_1_LED_TOTAL 63 -#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL diff --git a/keyboards/dztech/dz60rgb/keymaps/hhkb/config.h b/keyboards/dztech/dz60rgb/keymaps/hhkb/config.h index a0a0e899f..70f4bde25 100644 --- a/keyboards/dztech/dz60rgb/keymaps/hhkb/config.h +++ b/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 diff --git a/keyboards/dztech/dz60rgb/keymaps/hhkb_iso/config.h b/keyboards/dztech/dz60rgb/keymaps/hhkb_iso/config.h index bdafd9cd6..2bc3519de 100644 --- a/keyboards/dztech/dz60rgb/keymaps/hhkb_iso/config.h +++ b/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 diff --git a/keyboards/dztech/dz60rgb/keymaps/iso/config.h b/keyboards/dztech/dz60rgb/keymaps/iso/config.h index bc830ff18..7ad810a16 100644 --- a/keyboards/dztech/dz60rgb/keymaps/iso/config.h +++ b/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 diff --git a/keyboards/dztech/dz60rgb/keymaps/mekanist/config.h b/keyboards/dztech/dz60rgb/keymaps/mekanist/config.h deleted file mode 100644 index 558b6023d..000000000 --- a/keyboards/dztech/dz60rgb/keymaps/mekanist/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once -#define DRIVER_1_LED_TOTAL 63 -#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL -- cgit v1.2.3-24-g4f1b