~ruther/qmk_firmware

ref: 9e3b38425feedbe8d95c6cb738d713cc6e15af56 qmk_firmware/keyboards/atomic/atomic.c -rw-r--r-- 279 bytes
9e3b3842 — YouCanFly [Keyboard] Update Tetris (#5513) 6 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "atomic.h"

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

    MCUCR |= (1<<JTD);
    MCUCR |= (1<<JTD);

    // Turn status LED on
    DDRE |= (1<<6);
    PORTE |= (1<<6);

    matrix_init_user();
}