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

@@ -197,7 +197,7 @@ void led_set_user(uint8_t usb_led) {
static uint32_t timer;
static bool is_idle;
void matrix_scan_user() {
void matrix_scan_user(void) {
// Check the timer only if the keyboard is not idle
if (!is_idle) {
if (timer_elapsed32(timer) >= (uint32_t) BACKLIGHT_IDLE_TIMEOUT * 1000) {