summaryrefslogtreecommitdiffstats
path: root/keyboards/cluepad/cluepad.c
blob: cbbdccb300ea144f0da8cdbe6512ee5a38067417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "cluepad.h"

void matrix_init_kb(void) {
    // put your keyboard start-up code here
    // runs once when the firmware starts up
    matrix_init_user();

    #ifdef BACKLIGHT_ENABLE
        init_backlight_pin();
    #endif

    // JTAG disable for PORT F. write JTD bit twice within four cycles.
    MCUCR |= (1<<JTD);
    MCUCR |= (1<<JTD);
};