summaryrefslogtreecommitdiff
path: root/keyboards/bm40hsrgb/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bm40hsrgb/config.h')
-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