diff options
author | Brian Choromanski <BrianChoromanski@gmail.com> | 2018-03-09 13:31:42 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-03-09 13:31:42 -0500 |
commit | 8d6eadf26159dfe3a63d0bda15bdc68cab21ee36 (patch) | |
tree | 4820f3b2d097eaaede41ac1e0262882ec3eae412 /keyboards/planck/keymaps/aviator | |
parent | 0e6e059ef3cd88692348db1f6ef3de2b0349bfe6 (diff) |
Patched some keyboards that won't compile (#2453)
Diffstat (limited to 'keyboards/planck/keymaps/aviator')
-rw-r--r-- | keyboards/planck/keymaps/aviator/config.h | 1 | ||||
-rw-r--r-- | keyboards/planck/keymaps/aviator/keymap.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/aviator/config.h b/keyboards/planck/keymaps/aviator/config.h index 6bc53cf57b..81232367db 100644 --- a/keyboards/planck/keymaps/aviator/config.h +++ b/keyboards/planck/keymaps/aviator/config.h @@ -4,6 +4,7 @@ #include "config_common.h" #define BACKLIGHT_BREATHING +#define BREATHING_PERIOD 3 #ifdef AUDIO_ENABLE #define STARTUP_SONG SONG(PLANCK_SOUND) diff --git a/keyboards/planck/keymaps/aviator/keymap.c b/keyboards/planck/keymaps/aviator/keymap.c index 97d2bd0637..8ce9a8e174 100644 --- a/keyboards/planck/keymaps/aviator/keymap.c +++ b/keyboards/planck/keymaps/aviator/keymap.c @@ -134,7 +134,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { if (record->event.pressed) { set_single_persistent_default_layer(_DATA); #ifdef BACKLIGHT_ENABLE - breathing_speed_set(3); breathing_enable(); #endif } @@ -146,7 +145,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { uint8_t default_layer = biton32(default_layer_state); if (default_layer == _QWERTY) { #ifdef BACKLIGHT_ENABLE - breathing_speed_set(3); breathing_enable(); #endif } @@ -167,7 +165,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { uint8_t default_layer = biton32(default_layer_state); if (default_layer == _QWERTY) { #ifdef BACKLIGHT_ENABLE - breathing_speed_set(3); breathing_enable(); #endif } |