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 bac7ecb..223e58f 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();