[Keymap] Fix rgblight_enable ifdefs (#5283)
parent
41d8be7e75
commit
5c491da0e7
|
@ -1,10 +1,13 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
All notable changes to my userspace will be documented in this file.
|
All notable changes to my userspace will be documented in this file.
|
||||||
|
|
||||||
|
## [0.2.1] - 2019-03-01
|
||||||
|
### Fixed
|
||||||
|
- `config.h` usage of `#ifdef RGBLIGHT_ENABLE` caused problems for other of my boards that had `RGBLIGHT_ENABLE`.
|
||||||
|
|
||||||
## [0.2.0] - 2019-02-27
|
## [0.2.0] - 2019-02-27
|
||||||
### Changed
|
### Changed
|
||||||
- Moved `AUDIO_CLICKY` from community layout `66_ansi` into user space.
|
- Moved `AUDIO_CLICKY` from community layout `66_ansi` into user space.
|
||||||
-
|
|
||||||
|
|
||||||
## [0.1.1] - 2018-10-26
|
## [0.1.1] - 2018-10-26
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -18,10 +18,20 @@
|
||||||
|
|
||||||
// Enable features depending on keyboard
|
// Enable features depending on keyboard
|
||||||
#if defined(KEYBOARD_clueboard_66_hotswap_prototype)
|
#if defined(KEYBOARD_clueboard_66_hotswap_prototype)
|
||||||
#define RGBLIGHT_ENABLE
|
#ifndef RGBLIGHT_ENABLE
|
||||||
#define AUDIO_CLICKY
|
#define RGBLIGHT_ENABLE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef AUDIO_CLICKY
|
||||||
|
#define AUDIO_CLICKY
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif defined(KEYBOARD_clueboard_66_hotswap_gen1)
|
#elif defined(KEYBOARD_clueboard_66_hotswap_gen1)
|
||||||
#define AUDIO_CLICKY
|
#ifndef AUDIO_CLICKY
|
||||||
|
#define AUDIO_CLICKY
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define RGBLIGHT_ENABLE
|
#ifndef RGBLIGHT_ENABLE
|
||||||
|
#define RGBLIGHT_ENABLE
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue