From 0da53d3811ed35f31f23219a61a67c09fe2860d9 Mon Sep 17 00:00:00 2001 From: skullY Date: Tue, 5 Apr 2016 20:27:40 -0700 Subject: [PATCH] Fixup the cluepad code --- keyboard/cluepad/backlight.c | 2 +- keyboard/cluepad/cluepad.c | 8 ++++---- keyboard/cluepad/cluepad.h | 4 ++-- keyboard/cluepad/keymaps/keymap_default.c | 12 ++++++------ 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/keyboard/cluepad/backlight.c b/keyboard/cluepad/backlight.c index c0f8539494..a9caed1df8 100644 --- a/keyboard/cluepad/backlight.c +++ b/keyboard/cluepad/backlight.c @@ -6,7 +6,7 @@ int pwm_level; -void led_set(uint8_t usb_led) +void led_set_kb(uint8_t usb_led) { print("led_set\n"); } diff --git a/keyboard/cluepad/cluepad.c b/keyboard/cluepad/cluepad.c index ff3be5b9b5..d55b999605 100644 --- a/keyboard/cluepad/cluepad.c +++ b/keyboard/cluepad/cluepad.c @@ -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<