summaryrefslogtreecommitdiff
path: root/keyboards/annepro2/ap2_led.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-01-21 03:21:17 +1100
committerGitHub <noreply@github.com>2023-01-20 16:21:17 +0000
commitcf935d97ae479e7a1e1f2f2f248b93e52e4cc69e (patch)
treecb7dc41b774171ce7036f963941ce801e868d8cd /keyboards/annepro2/ap2_led.c
parent0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff)
Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
Diffstat (limited to 'keyboards/annepro2/ap2_led.c')
-rw-r--r--keyboards/annepro2/ap2_led.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/annepro2/ap2_led.c b/keyboards/annepro2/ap2_led.c
index 339df103bf..c1d7c8166e 100644
--- a/keyboards/annepro2/ap2_led.c
+++ b/keyboards/annepro2/ap2_led.c
@@ -60,15 +60,15 @@ void ap2_led_enable(void) { proto_tx(CMD_LED_ON, NULL, 0, 3); }
void ap2_led_set_profile(uint8_t prof) { proto_tx(CMD_LED_SET_PROFILE, &prof, sizeof(prof), 3); }
-void ap2_led_get_status() { proto_tx(CMD_LED_GET_STATUS, NULL, 0, 3); }
+void ap2_led_get_status(void) { proto_tx(CMD_LED_GET_STATUS, NULL, 0, 3); }
-void ap2_led_next_profile() { proto_tx(CMD_LED_NEXT_PROFILE, NULL, 0, 3); }
+void ap2_led_next_profile(void) { proto_tx(CMD_LED_NEXT_PROFILE, NULL, 0, 3); }
-void ap2_led_next_intensity() { proto_tx(CMD_LED_NEXT_INTENSITY, NULL, 0, 3); }
+void ap2_led_next_intensity(void) { proto_tx(CMD_LED_NEXT_INTENSITY, NULL, 0, 3); }
-void ap2_led_next_animation_speed() { proto_tx(CMD_LED_NEXT_ANIMATION_SPEED, NULL, 0, 3); }
+void ap2_led_next_animation_speed(void) { proto_tx(CMD_LED_NEXT_ANIMATION_SPEED, NULL, 0, 3); }
-void ap2_led_prev_profile() { proto_tx(CMD_LED_PREV_PROFILE, NULL, 0, 3); }
+void ap2_led_prev_profile(void) { proto_tx(CMD_LED_PREV_PROFILE, NULL, 0, 3); }
void ap2_led_mask_set_key(uint8_t row, uint8_t col, ap2_led_t color) {
uint8_t payload[] = {row, col, color.p.blue, color.p.green, color.p.red, color.p.alpha};
@@ -127,7 +127,7 @@ void ap2_led_set_foreground_color(uint8_t red, uint8_t green, uint8_t blue) {
ap2_led_mask_set_mono(color);
}
-void ap2_led_reset_foreground_color() {
+void ap2_led_reset_foreground_color(void) {
ap2_led_t color = {
.p.red = 0,
.p.green = 0,