]> www.fi.muni.cz Git - tinyboard.git/commitdiff
rgb-red-light: fixup
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 13 Apr 2016 15:33:26 +0000 (17:33 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 13 Apr 2016 15:33:26 +0000 (17:33 +0200)
(mode 2 has been left out from testing)

projects/rgb-led-light/main.c

index bac7ecb98abf1c1bf2502d952b0bc481c5ed6a8f..223e58fc87370195a62b468a37facf63d7b7980e 100644 (file)
@@ -162,7 +162,7 @@ int main(void)
 
        PORTB |= _BV(PB0) | _BV(PB3) | _BV(PB4); // pull-ups for buttons
 
-       state = 2;
+       state = 0;
 
        sei();