From cf935d97ae479e7a1e1f2f2f248b93e52e4cc69e Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 21 Jan 2023 03:21:17 +1100 Subject: Fix functions with empty params (#19647) * Fix functions with empty params * Found a bunch more --- keyboards/gmmk/pro/rev1/ansi/keymaps/lalitmaganti/keymap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/gmmk/pro/rev1/ansi/keymaps/lalitmaganti') diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/lalitmaganti/keymap.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/lalitmaganti/keymap.c index 46e0a128f9..83ef8c765a 100644 --- a/keyboards/gmmk/pro/rev1/ansi/keymaps/lalitmaganti/keymap.c +++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/lalitmaganti/keymap.c @@ -73,14 +73,14 @@ bool encoder_update_user(uint8_t index, bool clockwise) { static void set_rgb_side_leds(void); -static void set_rgb_side_leds() { +static void set_rgb_side_leds(void) { rgb_matrix_set_color(67, RGB_WHITE); // Left side LED 1 rgb_matrix_set_color(68, RGB_WHITE); // Right side LED 1 rgb_matrix_set_color(91, RGB_WHITE); // Left side LED 8 rgb_matrix_set_color(92, RGB_WHITE); // Right side LED 8 } -bool rgb_matrix_indicators_user() { +bool rgb_matrix_indicators_user(void) { rgb_matrix_set_color_all(0x0, 0x0, 0x0); if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK)) { rgb_matrix_set_color(3, RGB_WHITE); // CAPS -- cgit v1.2.3