summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/rev6/config.h
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2021-04-25 09:47:43 +0800
committerGitHub <noreply@github.com>2021-04-25 11:47:43 +1000
commitc7ca67a036e9e4cd87ff203cf3c3d1922cb79e6d (patch)
treea44d17807a75d18be82c61b4f09202e8171dd6b9 /keyboards/planck/rev6/config.h
parentb88498ba85aaf2fdd955ee9cbae6cffb327497de (diff)
Add RGB matrix suspend wake function for Planck/rev6 (#12290)
* Add RGB matrix suspend wake function for Planck/rev6 * Update suggested definition to allow user override. Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: filterpaper <filterpaper@localhost> Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/planck/rev6/config.h')
-rw-r--r--keyboards/planck/rev6/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/planck/rev6/config.h b/keyboards/planck/rev6/config.h
index 63c44001f6..4bc8a509f6 100644
--- a/keyboards/planck/rev6/config.h
+++ b/keyboards/planck/rev6/config.h
@@ -140,4 +140,8 @@
#define WS2812_DMA_STREAM STM32_DMA1_STREAM2
#define WS2812_DMA_CHANNEL 2
+#ifndef RGB_DISABLE_WHEN_USB_SUSPENDED
+# define RGB_DISABLE_WHEN_USB_SUSPENDED true
+#endif
+
#endif