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
170 changed files with 276 additions and 276 deletions

View File

@@ -205,7 +205,7 @@ void taphold_tapped(uint8_t index, bool pressed) {
}
}
void matrix_scan_user() {
void matrix_scan_user(void) {
for (uint8_t index = 0 ; index < TH_EVENTS_COUNT ; ++index ) {
tap_hold_t *th_event = &th_events[index];
if ( th_event->is_pressed && timer_elapsed(th_event->timer) > LONGPRESS_DELAY) {

View File

@@ -19,7 +19,7 @@
#define LT_ENT2 LT(2,KC_ENT)
#ifdef RGBLIGHT_ENABLE
void matrix_init_user() {
void matrix_init_user(void) {
rgblight_disable();
}
#endif