summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler <austexcn@users.noreply.github.com>2020-06-10 15:32:19 -0500
committerGitHub <noreply@github.com>2020-06-10 21:32:19 +0100
commite26bc21d1452dcf04332d300a874dacc8d74862d (patch)
treebe7e7e594b5415db0cf850133b6bbff31140d78b
parent5c2b46dc47f8e4c0e806b78b58324ac66869d7a8 (diff)
fix rgb mode selection and lighting increments for the 1894 (#9336)
-rw-r--r--keyboards/atxkb/1894/config.h12
-rw-r--r--keyboards/atxkb/1894/rules.mk1
2 files changed, 7 insertions, 6 deletions
diff --git a/keyboards/atxkb/1894/config.h b/keyboards/atxkb/1894/config.h
index 93dd93a6a2..27acb8afba 100644
--- a/keyboards/atxkb/1894/config.h
+++ b/keyboards/atxkb/1894/config.h
@@ -55,13 +55,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 14
-// #define RGBLIGHT_HUE_STEP 8
-// #define RGBLIGHT_SAT_STEP 8
-// #define RGBLIGHT_VAL_STEP 8
-// #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
-// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
+ #define RGBLIGHT_HUE_STEP 8
+ #define RGBLIGHT_SAT_STEP 8
+ #define RGBLIGHT_VAL_STEP 8
+ // #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
+ #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== all animations enable ==*/
-// #define RGBLIGHT_ANIMATIONS
+ #define RGBLIGHT_ANIMATIONS
// /*== or choose animations ==*/
// #define RGBLIGHT_EFFECT_BREATHING
// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/atxkb/1894/rules.mk b/keyboards/atxkb/1894/rules.mk
index 56e1ed8e0c..7910681a31 100644
--- a/keyboards/atxkb/1894/rules.mk
+++ b/keyboards/atxkb/1894/rules.mk
@@ -29,5 +29,6 @@ MIDI_ENABLE = no # MIDI support
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
+LTO_ENABLE = yes
LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_tsangan_hhkb