From: Jan "Yenya" Kasprzak Date: Wed, 13 Apr 2016 15:33:26 +0000 (+0200) Subject: rgb-red-light: fixup X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=tinyboard.git;a=commitdiff_plain;h=aebe03ad223d877fed3f27fb4a3f459e2c947670;ds=sidebyside rgb-red-light: fixup (mode 2 has been left out from testing) --- diff --git a/projects/rgb-led-light/main.c b/projects/rgb-led-light/main.c index bac7ecb..223e58f 100644 --- a/projects/rgb-led-light/main.c +++ b/projects/rgb-led-light/main.c @@ -162,7 +162,7 @@ int main(void) PORTB |= _BV(PB0) | _BV(PB3) | _BV(PB4); // pull-ups for buttons - state = 2; + state = 0; sei();