Patched some keyboards that won't compile (#2453)

This commit is contained in:
Brian Choromanski 2018-03-09 13:31:42 -05:00 committed by Jack Humbert
commit 8d6eadf261
11 changed files with 26 additions and 24 deletions

View file

@ -4,6 +4,7 @@
#include "config_common.h"
#define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 3
#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(PLANCK_SOUND)

View file

@ -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
}

View file

@ -138,7 +138,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
break;
case MACRO_BREATH_DEFAULT:
if (record->event.pressed) {
breathing_defaults();
breathing_period_default();
}
break;
}

View file

@ -337,7 +337,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
case MACRO_BREATH_DEFAULT:
if (record->event.pressed)
{
breathing_defaults();
breathing_period_default();
}
break;

View file

@ -2,6 +2,7 @@ ifndef QUANTUM_DIR
include ../../../../Makefile
endif
EXTRAKEY_ENABLE = no
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
STENO_ENABLE = yes # Additional protocols for Stenography(+1700), requires VIRTSER
AUDIO_ENABLE = no # Audio output on port C6

View file

@ -346,7 +346,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
case MACRO_BREATH_DEFAULT:
if (record->event.pressed)
{
breathing_defaults();
breathing_period_default();
}
break;