From 43b162ab0d886c7f75a9e8702052ab90ae462189 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Thu, 6 Dec 2012 21:38:03 +0100 Subject: [PATCH] pwm.c - remove unused code --- firmware/pwm.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/firmware/pwm.c b/firmware/pwm.c index 3ef52c3..8c95619 100644 --- a/firmware/pwm.c +++ b/firmware/pwm.c @@ -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 - -- 2.43.5