1
0
Fork 0

Fix functions with empty params (#19647)

* Fix functions with empty params

* Found a bunch more
This commit is contained in:
Ryan 2023-01-21 03:21:17 +11:00 committed by GitHub
parent 0f77ae6a20
commit cf935d97ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
170 changed files with 276 additions and 276 deletions

View file

@ -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);
}