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

@@ -76,7 +76,7 @@ void backlight_set(uint8_t level)
backlight_toggle_rgb(level & BACKLIGHT_RGB);
}
void backlight_update_state()
void backlight_update_state(void)
{
cli();
send_color(backlight_state_led & (1<<STATE_LED_SCROLL_LOCK) ? 255 : 0,

View File

@@ -138,7 +138,7 @@ static void init_rows(void) {
PORTE |= 0b00000100;
}
static uint8_t read_rows() {
static uint8_t read_rows(void) {
return (PINB&(1<<7) ? (1<<0) : 0) |
(PIND&(1<<0) ? (1<<1) : 0) |
(PIND&(1<<1) ? (1<<2) : 0) |