summaryrefslogtreecommitdiff
path: root/keyboards/edi/hardlight
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/edi/hardlight')
-rw-r--r--keyboards/edi/hardlight/mk1/config.h1
-rw-r--r--keyboards/edi/hardlight/mk1/info.json3
-rw-r--r--keyboards/edi/hardlight/mk2/config.h1
-rw-r--r--keyboards/edi/hardlight/mk2/info.json3
-rw-r--r--keyboards/edi/hardlight/mk2/rules.mk2
5 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/edi/hardlight/mk1/config.h b/keyboards/edi/hardlight/mk1/config.h
index 6677c4587e..44515c0913 100644
--- a/keyboards/edi/hardlight/mk1/config.h
+++ b/keyboards/edi/hardlight/mk1/config.h
@@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/*
* Enable RGB Underlighting
*/
-#define RGBLED_NUM 15
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/edi/hardlight/mk1/info.json b/keyboards/edi/hardlight/mk1/info.json
index d7275dfa70..7e8d1a755d 100644
--- a/keyboards/edi/hardlight/mk1/info.json
+++ b/keyboards/edi/hardlight/mk1/info.json
@@ -11,6 +11,9 @@
"rows": ["B0", "B1", "B2", "B3", "D4", "D6", "D7", "B4"]
},
"diode_direction": "COL2ROW",
+ "rgblight": {
+ "led_count": 15
+ },
"ws2812": {
"pin": "C7"
},
diff --git a/keyboards/edi/hardlight/mk2/config.h b/keyboards/edi/hardlight/mk2/config.h
index b9b6b86c98..54e18096ff 100644
--- a/keyboards/edi/hardlight/mk2/config.h
+++ b/keyboards/edi/hardlight/mk2/config.h
@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_RESYNC_ENABLE
/* RGB Underglow */
-#define RGBLED_NUM 32
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/edi/hardlight/mk2/info.json b/keyboards/edi/hardlight/mk2/info.json
index 63ca3aa15d..64be97d95b 100644
--- a/keyboards/edi/hardlight/mk2/info.json
+++ b/keyboards/edi/hardlight/mk2/info.json
@@ -6,6 +6,9 @@
"pid": "0x2408",
"device_version": "0.0.7"
},
+ "rgblight": {
+ "led_count": 32
+ },
"ws2812": {
"pin": "A10",
"driver": "pwm"
diff --git a/keyboards/edi/hardlight/mk2/rules.mk b/keyboards/edi/hardlight/mk2/rules.mk
index 69c4b26a9e..b7b67ba5b2 100644
--- a/keyboards/edi/hardlight/mk2/rules.mk
+++ b/keyboards/edi/hardlight/mk2/rules.mk
@@ -16,5 +16,3 @@ AUDIO_ENABLE = no # Audio output
VELOCIKEY_ENABLE = yes
KEY_LOCK_ENABLE = yes
-# Enter lower-power sleep mode when on the ChibiOS idle thread
-OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE