mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 10:24:26 +01:00
avr: surpress compiler warning
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
29d722453d
commit
698a96e46b
@ -95,7 +95,7 @@ static void set_leds(void)
|
|||||||
|
|
||||||
static void update_state(unsigned char new_state, enum state_source source)
|
static void update_state(unsigned char new_state, enum state_source source)
|
||||||
{
|
{
|
||||||
char ret;
|
char ret = 0;
|
||||||
reset_timeout();
|
reset_timeout();
|
||||||
|
|
||||||
if (new_state == state)
|
if (new_state == state)
|
||||||
|
Loading…
Reference in New Issue
Block a user