~ruther/qmk_firmware

ref: f37f27f02a55f750c21f671e712e3f704ba57885 qmk_firmware/keyboards/handwired/traveller/traveller.c -rw-r--r-- 412 bytes
f37f27f0 — James Young Migrate `LOCKING_*_ENABLE` to Data-Driven: O (#23778) 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "quantum.h"

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

#ifdef RGBLIGHT_ENABLE
    rgblight_init();
    rgblight_mode(1); // solid, no timer
    rgblight_setrgb(0,20,0);// dim green, happens to be same as _QW
#endif

    // Turn status LED on
    gpio_set_pin_output(C7);
    gpio_write_pin_high(C7);

    matrix_init_user();
}
Do not follow this link