diff options
author | Ryan <fauxpark@gmail.com> | 2023-01-21 03:21:17 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 16:21:17 +0000 |
commit | cf935d97ae479e7a1e1f2f2f248b93e52e4cc69e (patch) | |
tree | cb7dc41b774171ce7036f963941ce801e868d8cd /keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh | |
parent | 0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff) |
Fix functions with empty params (#19647)
* Fix functions with empty params
* Found a bunch more
Diffstat (limited to 'keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh')
-rw-r--r-- | keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh/keymap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh/keymap.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh/keymap.c index 8d425cdf1e..303861c676 100644 --- a/keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh/keymap.c +++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/trwnh/keymap.c @@ -62,7 +62,7 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { static void set_rgb_caps_leds_off(void); static void set_rgb_scroll_leds_off(void); - static void set_rgb_caps_leds_on() { + static void set_rgb_caps_leds_on(void) { // Set alpha and capslock to red rgb_matrix_set_color( 3, 255, 0, 0); // Caps @@ -97,7 +97,7 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { rgb_matrix_set_color(43, 255, 0, 0); // M } - static void set_rgb_caps_leds_off() { + static void set_rgb_caps_leds_off(void) { // Set alpha and capslock to black rgb_matrix_set_color( 3, 0, 0, 0); // Caps @@ -132,11 +132,11 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { rgb_matrix_set_color(43, 0, 0, 0); // M } - static void set_rgb_scroll_leds_on() { + static void set_rgb_scroll_leds_on(void) { rgb_matrix_set_color(72, 255, 255, 255); // Under Rotary (HOME) } - static void set_rgb_scroll_leds_off() { + static void set_rgb_scroll_leds_off(void) { rgb_matrix_set_color(72, 0, 0, 0); // Under Rotary (HOME) } |