mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-28 22:20:13 +00:00
19 lines
412 B
C
19 lines
412 B
C
#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();
|
|
}
|