Fix functions with empty params (#19647)

* Fix functions with empty params

* Found a bunch more
This commit is contained in:
Ryan authored and GitHub committed 2023-01-20 16:21:17 +00:00
1 parent 0f77ae6a20
commit cf935d97ae
170 files changed
+276 -276

No files matched your search

+1 -1
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,
+1 -1
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) |