summaryrefslogtreecommitdiff
path: root/keyboards/canary/canary60rgb
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-16 14:04:45 +1000
committerGitHub <noreply@github.com>2023-06-16 14:04:45 +1000
commit2367d8129c92474eb0da66ebc5ace893097cf574 (patch)
tree07dd36030e6b490cf2c33a43bb434d419a02d0c2 /keyboards/canary/canary60rgb
parent579db6131e271a6b3a52c3e19b2fe3a15fd403c7 (diff)
Move `RGBLIGHT_SLEEP` to data driven (#21072)
Diffstat (limited to 'keyboards/canary/canary60rgb')
-rw-r--r--keyboards/canary/canary60rgb/info.json3
-rw-r--r--keyboards/canary/canary60rgb/v1/config.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/canary/canary60rgb/info.json b/keyboards/canary/canary60rgb/info.json
index 1d3b2d693b..bc9be65e9b 100644
--- a/keyboards/canary/canary60rgb/info.json
+++ b/keyboards/canary/canary60rgb/info.json
@@ -8,6 +8,9 @@
"pid": "0x0621",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "sleep": true
+ },
"ws2812": {
"pin": "B6"
},
diff --git a/keyboards/canary/canary60rgb/v1/config.h b/keyboards/canary/canary60rgb/v1/config.h
index c269ae5172..6ba52ece7e 100644
--- a/keyboards/canary/canary60rgb/v1/config.h
+++ b/keyboards/canary/canary60rgb/v1/config.h
@@ -29,7 +29,6 @@
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8
-# define RGBLIGHT_SLEEP
#ifdef RGB_MATRIX_ENABLE
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended