Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
This commit is contained in:
parent
0f77ae6a20
commit
cf935d97ae
170 changed files with 276 additions and 276 deletions
|
@ -36,9 +36,9 @@ const encoder_callback encoder_mapping[][2] = {
|
|||
|
||||
// clang-format on
|
||||
|
||||
void volume_up() { tap_code(KC_VOLU); }
|
||||
void volume_up(void) { tap_code(KC_VOLU); }
|
||||
|
||||
void volume_down() { tap_code(KC_VOLD); }
|
||||
void volume_down(void) { tap_code(KC_VOLD); }
|
||||
|
||||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
dprintf("current encoder state is: %d\n", state);
|
||||
|
@ -65,7 +65,7 @@ void handle_rgb_key(bool pressed) {
|
|||
|
||||
static KeyPressState *rgb_state;
|
||||
|
||||
void keyboard_post_init_encoder() {
|
||||
void keyboard_post_init_encoder(void) {
|
||||
rgb_state = NewKeyPressState(handle_rgb_key);
|
||||
}
|
||||
|
||||
|
|
|
@ -116,4 +116,4 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
process_record_fun(keycode, record);
|
||||
}
|
||||
|
||||
void keyboard_post_init_user() { keyboard_post_init_encoder(); }
|
||||
void keyboard_post_init_user(void) { keyboard_post_init_encoder(); }
|
||||
|
|
|
@ -58,12 +58,12 @@ void set_layer_rgb(uint8_t led_min, uint8_t led_max, int layer) {
|
|||
}
|
||||
}
|
||||
|
||||
void rgb_matrix_layers_enable() {
|
||||
void rgb_matrix_layers_enable(void) {
|
||||
dprintf("ledmaps are enabled\n");
|
||||
enabled = true;
|
||||
}
|
||||
|
||||
void rgb_matrix_layers_disable() {
|
||||
void rgb_matrix_layers_disable(void) {
|
||||
dprintf("ledmaps are disabled\n");
|
||||
enabled = false;
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
#include "utils.h"
|
||||
|
||||
void store_rgb_state_to_eeprom() {
|
||||
void store_rgb_state_to_eeprom(void) {
|
||||
uint8_t mode = rgb_matrix_get_mode();
|
||||
uint8_t speed = rgb_matrix_get_speed();
|
||||
HSV color = rgb_matrix_get_hsv();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue