diff options
Diffstat (limited to 'keyboards/mechlovin/hannah65')
| -rw-r--r-- | keyboards/mechlovin/hannah65/config.h | 2 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah65/hannah65.c | 18 |
2 files changed, 2 insertions, 18 deletions
diff --git a/keyboards/mechlovin/hannah65/config.h b/keyboards/mechlovin/hannah65/config.h index 6801c30a3..8c94fe4b3 100644 --- a/keyboards/mechlovin/hannah65/config.h +++ b/keyboards/mechlovin/hannah65/config.h | |||
| @@ -41,6 +41,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 41 | 41 | ||
| 42 | #define DIODE_DIRECTION COL2ROW | 42 | #define DIODE_DIRECTION COL2ROW |
| 43 | 43 | ||
| 44 | #define LED_CAPS_LOCK_PIN B9 | ||
| 45 | |||
| 44 | #define BACKLIGHT_PIN B8 | 46 | #define BACKLIGHT_PIN B8 |
| 45 | #define BACKLIGHT_BREATHING | 47 | #define BACKLIGHT_BREATHING |
| 46 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 48 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
diff --git a/keyboards/mechlovin/hannah65/hannah65.c b/keyboards/mechlovin/hannah65/hannah65.c index 4f937d8a2..92e0917eb 100644 --- a/keyboards/mechlovin/hannah65/hannah65.c +++ b/keyboards/mechlovin/hannah65/hannah65.c | |||
| @@ -15,21 +15,3 @@ | |||
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | #include "hannah65.h" | 17 | #include "hannah65.h" |
| 18 | |||
| 19 | void matrix_init_kb(void) { | ||
| 20 | matrix_init_user(); | ||
| 21 | led_init_ports(); | ||
| 22 | } | ||
| 23 | |||
| 24 | void led_init_ports(void) { | ||
| 25 | setPinOutput(B9); | ||
| 26 | writePinLow(B9); | ||
| 27 | } | ||
| 28 | |||
| 29 | bool led_update_kb(led_t led_state) { | ||
| 30 | if(led_update_user(led_state)) { | ||
| 31 | writePin(B9, led_state.caps_lock); | ||
| 32 | } | ||
| 33 | |||
| 34 | return true; | ||
| 35 | } | ||
