diff options
| author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-03-01 08:33:29 -0800 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-03-01 08:33:29 -0800 |
| commit | 5c491da0e7d1c107e549acc7449afc081ef1b8c5 (patch) | |
| tree | b94329f167345b8f79cc8e7beb14c405a4e474ee /users/mechmerlin/config.h | |
| parent | 41d8be7e75e68f41cdc890d7b9f99ba8d58990d4 (diff) | |
| download | qmk_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.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/users/mechmerlin/config.h b/users/mechmerlin/config.h index 3c45162bc..9ca39a12a 100644 --- a/users/mechmerlin/config.h +++ b/users/mechmerlin/config.h | |||
| @@ -18,10 +18,20 @@ | |||
| 18 | 18 | ||
| 19 | // Enable features depending on keyboard | 19 | // Enable features depending on keyboard |
| 20 | #if defined(KEYBOARD_clueboard_66_hotswap_prototype) | 20 | #if defined(KEYBOARD_clueboard_66_hotswap_prototype) |
| 21 | #define RGBLIGHT_ENABLE | 21 | #ifndef RGBLIGHT_ENABLE |
| 22 | #define AUDIO_CLICKY | 22 | #define RGBLIGHT_ENABLE |
| 23 | #endif | ||
| 24 | |||
| 25 | #ifndef AUDIO_CLICKY | ||
| 26 | #define AUDIO_CLICKY | ||
| 27 | #endif | ||
| 28 | |||
| 23 | #elif defined(KEYBOARD_clueboard_66_hotswap_gen1) | 29 | #elif defined(KEYBOARD_clueboard_66_hotswap_gen1) |
| 24 | #define AUDIO_CLICKY | 30 | #ifndef AUDIO_CLICKY |
| 31 | #define AUDIO_CLICKY | ||
| 32 | #endif | ||
| 25 | #else | 33 | #else |
| 26 | #define RGBLIGHT_ENABLE | 34 | #ifndef RGBLIGHT_ENABLE |
| 35 | #define RGBLIGHT_ENABLE | ||
| 36 | #endif | ||
| 27 | #endif | 37 | #endif |
