From 64712731495b241dcab29c96c2ccb650a3aa39fd Mon Sep 17 00:00:00 2001 From: MechMerlin <30334081+mechmerlin@users.noreply.github.com> Date: Wed, 13 Feb 2019 19:49:04 -0800 Subject: [Keyboard] KBD19x Bootmagic Enable (lite) and other fixes (#5126) * set bootmagic from no to lite and put in a note in the readme * use pragma once * discovered a compile error when testing with default keymap. The inlined led functions need to be externed in the .c file * might as well turn on mouse keys as well --- keyboards/kbdfans/kbd19x/kbd19x.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'keyboards/kbdfans/kbd19x/kbd19x.c') diff --git a/keyboards/kbdfans/kbd19x/kbd19x.c b/keyboards/kbdfans/kbd19x/kbd19x.c index 360345600..e6cd77d65 100644 --- a/keyboards/kbdfans/kbd19x/kbd19x.c +++ b/keyboards/kbdfans/kbd19x/kbd19x.c @@ -17,6 +17,15 @@ along with this program. If not, see . #include "kbd19x.h" +extern inline void kbd19x_caps_led_on(void); +extern inline void kbd19x_caps_led_off(void); + +extern inline void kbd19x_sclk_led_on(void); +extern inline void kbd19x_sclk_led_off(void); + +extern inline void kbd19x_nmlk_led_on(void); +extern inline void kbd19x_nmlk_led_off(void); + void matrix_init_kb(void) { // put your keyboard start-up code here // runs once when the firmware starts up -- cgit v1.2.3