~ruther/qmk_firmware

ref: c37d52d2137acf5739c481cc0c8917ad6fd77161 qmk_firmware/keyboard/clueboard1/clueboard1.c -rw-r--r-- 336 bytes
c37d52d2 — Jack Humbert resolves conflicts in rgblight.c 9 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "clueboard1.h"

__attribute__ ((weak))
void matrix_init_user(void) {
	// leave these blank
}

__attribute__ ((weak))
void matrix_scan_user(void) {
	// leave these blank
}

void matrix_init_kb(void) {
	#ifdef RGBLIGHT_ENABLE
		rgblight_init();
	#endif

	matrix_init_user();
}

void matrix_scan_kb(void) {
	matrix_scan_user();
}