Fixup the cluepad code

This commit is contained in:
skullY 2016-04-05 20:27:40 -07:00
parent 34dd96187c
commit 0da53d3811
4 changed files with 13 additions and 13 deletions

View file

@ -1,16 +1,16 @@
#include "cluepad.h"
__attribute__ ((weak))
void * matrix_init_user(void) {
void matrix_init_user(void) {
// leave these blank
};
__attribute__ ((weak))
void * matrix_scan_user(void) {
void matrix_scan_user(void) {
// leave these blank
};
void * matrix_init_kb(void) {
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
if (matrix_init_user) {
@ -30,7 +30,7 @@ void * matrix_init_kb(void) {
MCUCR |= (1<<JTD);
};
void * matrix_scan_kb(void) {
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
if (matrix_scan_user) {