]> www.fi.muni.cz Git - bike-lights.git/commitdiff
pwm.c - remove unused code
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 6 Dec 2012 20:38:03 +0000 (21:38 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 6 Dec 2012 20:38:03 +0000 (21:38 +0100)
firmware/pwm.c

index 3ef52c3fd436bc733ab7567b722487981fd3c133..8c95619a8f06ec423abce77a25f0a32f59f55258 100644 (file)
@@ -127,18 +127,3 @@ void pwm_timer()
                        pwm_update_hw(i);
 }
 
-#if 0
-static void inline pwm_handler()
-{
-       OCR1A = pwmval[0];
-       OCR1B = pwmval[1];
-       OCR1D = pwmval[2];
-       TIMSK &= ~_BV(TOIE1);
-}
-
-ISR(TIMER1_OVF_vect)
-{
-       pwm_handler();
-}
-#endif
-