diff options
Diffstat (limited to 'keyboards/duck')
-rw-r--r-- | keyboards/duck/jetfire/jetfire.c | 2 | ||||
-rw-r--r-- | keyboards/duck/lightsaver/matrix.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/duck/jetfire/jetfire.c b/keyboards/duck/jetfire/jetfire.c index 7bebd7ad21..d42cb22ff3 100644 --- a/keyboards/duck/jetfire/jetfire.c +++ b/keyboards/duck/jetfire/jetfire.c @@ -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, diff --git a/keyboards/duck/lightsaver/matrix.c b/keyboards/duck/lightsaver/matrix.c index 066452724f..c65b6aa6c4 100644 --- a/keyboards/duck/lightsaver/matrix.c +++ b/keyboards/duck/lightsaver/matrix.c @@ -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) | |