Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
This commit is contained in:
@@ -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,
|
||||
|
@@ -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) |
|
||||
|
Reference in New Issue
Block a user