diff options
author | Drashna Jaelre <drashna@live.com> | 2019-07-28 10:56:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-28 10:56:35 -0700 |
commit | c9424eb8d7586ccc2d72014df7b2223cb2645588 (patch) | |
tree | 533212fe003d5b7529d5075e87cc12fb2a2beb56 /keyboards/crkbd/keymaps | |
parent | bbdc82dd36a95c6bb8dafca6ca87c9e87d5bc315 (diff) | |
download | qmk_firmware-c9424eb8d7586ccc2d72014df7b2223cb2645588.tar.gz qmk_firmware-c9424eb8d7586ccc2d72014df7b2223cb2645588.zip |
[Keyboard] Fix up and clean Corne Keyboard code (#6284)
* Fix corne communication issues with LTO
* Fix up other issues with corne code
* Fix indentation
* Clang Format rev1 file for Corne
Diffstat (limited to 'keyboards/crkbd/keymaps')
-rw-r--r-- | keyboards/crkbd/keymaps/default/config.h | 16 | ||||
-rw-r--r-- | keyboards/crkbd/keymaps/default/keymap.c | 7 |
2 files changed, 9 insertions, 14 deletions
diff --git a/keyboards/crkbd/keymaps/default/config.h b/keyboards/crkbd/keymaps/default/config.h index 644e813650..899fde008d 100644 --- a/keyboards/crkbd/keymaps/default/config.h +++ b/keyboards/crkbd/keymaps/default/config.h @@ -35,10 +35,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define TAPPING_FORCE_HOLD #define TAPPING_TERM 100 -#undef RGBLED_NUM -#define RGBLIGHT_ANIMATIONS -#define RGBLED_NUM 27 -#define RGBLIGHT_LIMIT_VAL 120 -#define RGBLIGHT_HUE_STEP 10 -#define RGBLIGHT_SAT_STEP 17 -#define RGBLIGHT_VAL_STEP 17 +#ifdef RGBLIGHT_ENABLE + #undef RGBLED_NUM + #define RGBLIGHT_ANIMATIONS + #define RGBLED_NUM 27 + #define RGBLIGHT_LIMIT_VAL 120 + #define RGBLIGHT_HUE_STEP 10 + #define RGBLIGHT_SAT_STEP 17 + #define RGBLIGHT_VAL_STEP 17 +#endif diff --git a/keyboards/crkbd/keymaps/default/keymap.c b/keyboards/crkbd/keymaps/default/keymap.c index 348da2c762..40bf9b6586 100644 --- a/keyboards/crkbd/keymaps/default/keymap.c +++ b/keyboards/crkbd/keymaps/default/keymap.c @@ -1,11 +1,4 @@ #include QMK_KEYBOARD_H -#ifdef PROTOCOL_LUFA - #include "lufa.h" - #include "split_util.h" -#endif -#ifdef SSD1306OLED - #include "ssd1306.h" -#endif extern keymap_config_t keymap_config; |