summaryrefslogtreecommitdiff
path: root/keyboards/bm40hsrgb
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2021-06-16 13:23:20 +0800
committerGitHub <noreply@github.com>2021-06-15 22:23:20 -0700
commitabee0610eefc4ce84d461787e58d7e62e63282db (patch)
treebfff83babca7e2f85a8512a09e3c93bceba66aa8 /keyboards/bm40hsrgb
parent9aea0fd52b69ea6e063ca1e25d11b9be34982db5 (diff)
[Keyboard] Allow user override of RGB_DISABLE_WHEN_USB_SUSPENDED for BM40 keyboard (#12700)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: filterpaper <filterpaper@localhost>
Diffstat (limited to 'keyboards/bm40hsrgb')
-rwxr-xr-xkeyboards/bm40hsrgb/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/bm40hsrgb/config.h b/keyboards/bm40hsrgb/config.h
index 84d0950d59..167a5667a4 100755
--- a/keyboards/bm40hsrgb/config.h
+++ b/keyboards/bm40hsrgb/config.h
@@ -50,6 +50,6 @@
#ifdef RGB_DI_PIN
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
#endif
-#ifdef RGB_MATRIX_ENABLE
+#ifndef RGB_DISABLE_WHEN_USB_SUSPENDED
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
#endif