diff --git a/avr-code/main.c b/avr-code/main.c index ec6ec2a..b3eb8a2 100644 --- a/avr-code/main.c +++ b/avr-code/main.c @@ -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)