From 994d94140e16f60515f193337309d89af6e6695e Mon Sep 17 00:00:00 2001 From: skullydazed Date: Sat, 10 Feb 2018 17:09:47 -0800 Subject: Clueboard hotswap support (#2376) --- keyboards/clueboard/66_hotswap/gen1/gen1.c | 63 ++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 keyboards/clueboard/66_hotswap/gen1/gen1.c (limited to 'keyboards/clueboard/66_hotswap/gen1/gen1.c') diff --git a/keyboards/clueboard/66_hotswap/gen1/gen1.c b/keyboards/clueboard/66_hotswap/gen1/gen1.c new file mode 100644 index 000000000..01f74bc50 --- /dev/null +++ b/keyboards/clueboard/66_hotswap/gen1/gen1.c @@ -0,0 +1,63 @@ +#include "gen1.h" +#include +#include "backlight.h" +#include "print.h" + +void matrix_init_kb(void) { + // put your keyboard start-up code here + // runs once when the firmware starts up + matrix_init_user(); + led_init_ports(); + + // JTAG disable for PORT F. write JTD bit twice within four cycles. + MCUCR |= (1<