diff options
author | moyi4681 <moyi4681@users.noreply.github.com> | 2019-05-10 09:48:07 +0800 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-05-09 18:48:07 -0700 |
commit | bce391a663d2848bff8ffffca0e4bad771bd3890 (patch) | |
tree | 59837151307cfda19e6da1bf7b97223db664320e /keyboards/dztech/dz60rgb/config.h | |
parent | 2835a7074985f25dea9398a7ac211914c9d52fe4 (diff) |
[Keyboard] DZTECH: CODE CLEANUP (#5828)
* Delete board.c
* Delete board.h
* Delete board.mk
* Delete bootloader_defs.h
* Delete chconf.h
* Delete halconf.h
* Delete mcuconf.h
* Update rules.mk
* Update config.h
* Update config.h
* Update config.h
* Update config.h
* Update config.h
* Update rules.mk
* Delete bootloader_defs.h
* Delete halconf.h
* Delete chconf.h
* Delete mcuconf.h
* Update rules.mk
* Update config.h
* Update dz40rgb.c
* Update dz65rgb.c
Diffstat (limited to 'keyboards/dztech/dz60rgb/config.h')
-rw-r--r-- | keyboards/dztech/dz60rgb/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/dztech/dz60rgb/config.h b/keyboards/dztech/dz60rgb/config.h index 0c04acce3f..edf0982ab2 100644 --- a/keyboards/dztech/dz60rgb/config.h +++ b/keyboards/dztech/dz60rgb/config.h @@ -32,5 +32,11 @@ #define DRIVER_ADDR_1 0b1010000 #define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons. #define DRIVER_COUNT 2 +#if defined (dzrgb60_ansi) || defined (dzrgb60_iso) +#define DRIVER_1_LED_TOTAL 61 +#elif defined (dzrgb60_hhkb) || defined (dzrgb60_hhkb_iso) +#define DRIVER_1_LED_TOTAL 62 +#else #define DRIVER_1_LED_TOTAL 63 +#endif #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL |