summaryrefslogtreecommitdiff
path: root/users/mechmerlin/config.h
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-03-01 08:33:29 -0800
committerDrashna Jaelre <drashna@live.com>2019-03-01 08:33:29 -0800
commit5c491da0e7d1c107e549acc7449afc081ef1b8c5 (patch)
treeb94329f167345b8f79cc8e7beb14c405a4e474ee /users/mechmerlin/config.h
parent41d8be7e75e68f41cdc890d7b9f99ba8d58990d4 (diff)
downloadqmk_firmware-5c491da0e7d1c107e549acc7449afc081ef1b8c5.tar.gz
qmk_firmware-5c491da0e7d1c107e549acc7449afc081ef1b8c5.zip
[Keymap] Fix rgblight_enable ifdefs (#5283)
Diffstat (limited to 'users/mechmerlin/config.h')
-rw-r--r--users/mechmerlin/config.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/users/mechmerlin/config.h b/users/mechmerlin/config.h
index 3c45162bcc..9ca39a12ac 100644
--- a/users/mechmerlin/config.h
+++ b/users/mechmerlin/config.h
@@ -18,10 +18,20 @@
// Enable features depending on keyboard
#if defined(KEYBOARD_clueboard_66_hotswap_prototype)
- #define RGBLIGHT_ENABLE
- #define AUDIO_CLICKY
+ #ifndef RGBLIGHT_ENABLE
+ #define RGBLIGHT_ENABLE
+ #endif
+
+ #ifndef AUDIO_CLICKY
+ #define AUDIO_CLICKY
+ #endif
+
#elif defined(KEYBOARD_clueboard_66_hotswap_gen1)
- #define AUDIO_CLICKY
+ #ifndef AUDIO_CLICKY
+ #define AUDIO_CLICKY
+ #endif
#else
- #define RGBLIGHT_ENABLE
+ #ifndef RGBLIGHT_ENABLE
+ #define RGBLIGHT_ENABLE
+ #endif
#endif