From 4b55e0fc9f614088cfedddfe2551e0cb5389a017 Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Wed, 9 Mar 2016 17:51:06 +0900 Subject: [PATCH] fantastic60: Implement exclusive TP mode and BL mode --- keyboard/fantastic60/backlight.c | 1 - keyboard/fantastic60/matrix.c | 7 +++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/keyboard/fantastic60/backlight.c b/keyboard/fantastic60/backlight.c index 0bf951a8..71de1927 100755 --- a/keyboard/fantastic60/backlight.c +++ b/keyboard/fantastic60/backlight.c @@ -35,7 +35,6 @@ static const uint8_t backlight_table[] PROGMEM = { void backlight_set(uint8_t level) { - softpwm_led_enable(); #ifdef BREATHING_LED_ENABLE switch (level) { case 1: diff --git a/keyboard/fantastic60/matrix.c b/keyboard/fantastic60/matrix.c index 559f4a32..9cb78625 100644 --- a/keyboard/fantastic60/matrix.c +++ b/keyboard/fantastic60/matrix.c @@ -30,6 +30,7 @@ along with this program. If not, see . #endif #include "matrix.h" #include "rgb.h" +#include "softpwm_led.h" #ifndef DEBOUNCE # define DEBOUNCE 5 @@ -81,9 +82,15 @@ void matrix_init(void) _delay_us(30); // without this wait read unstable value. if ((PINC & (1<