From c8ad13d0f970c7f424ea5da48181ad449f4ae09f Mon Sep 17 00:00:00 2001 From: moyi4681 Date: Mon, 11 Mar 2019 01:15:53 +0800 Subject: [PATCH] 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 814cb6520f6fc03d96d22107169103da16e8c983..a1b3a19d9fc6c671e9f3cd0d5ad2f54b66de5605 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 2e7122b3cc75962f8ead7d3db0aa472eab7e9af4..3ca582e84b42d34ff3d6d2430689a8b632de123a 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 558b6023d575da0afb578afa3b500c266e349827..0000000000000000000000000000000000000000 --- 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 a0a0e899f8fa8a5ab8c42ef69c4a3c57fe65b4c9..70f4bde25feaf40c9075af3959e3270f3ad9febc 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 bdafd9cd60267948a786e80491ac8a94eac548ba..2bc3519de71e0e404f32e6afeb37a55816cbc09a 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 bc830ff18d66ec2725d2cb8b67856ad18628110b..7ad810a162f0e326fa535dc9cb4ce9f2d5d8a618 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 558b6023d575da0afb578afa3b500c266e349827..0000000000000000000000000000000000000000 --- 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