diff options
author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-02-13 19:49:04 -0800 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-02-13 19:49:04 -0800 |
commit | 64712731495b241dcab29c96c2ccb650a3aa39fd (patch) | |
tree | ed74dd9211a6fdb67fe4bfe9052ca1d49dcbb478 /keyboards/kbdfans/kbd19x/kbd19x.c | |
parent | 31b75c75fd0408c7ef15d15892a369f8a271e551 (diff) | |
download | qmk_firmware-64712731495b241dcab29c96c2ccb650a3aa39fd.tar.gz |
[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
Diffstat (limited to 'keyboards/kbdfans/kbd19x/kbd19x.c')
-rw-r--r-- | keyboards/kbdfans/kbd19x/kbd19x.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. #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 |