avr: surpress compiler warning

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2018-09-03 22:15:38 +00:00
parent 29d722453d
commit 698a96e46b
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ static void set_leds(void)
static void update_state(unsigned char new_state, enum state_source source)
{
char ret;
char ret = 0;
reset_timeout();
if (new_state == state)