From cb1e79ad2cbd4559c41f7bf43303cc9f9ea9f39a Mon Sep 17 00:00:00 2001 From: john stone Date: Tue, 24 Jul 2012 19:51:15 +0200 Subject: [PATCH] =?UTF-8?q?wei=C3=9F=20nich=20mehr...=20motor=20pwm=20stuf?= =?UTF-8?q?f?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firmware/main.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/firmware/main.c b/firmware/main.c index 32755e7..f97fc9c 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -11,12 +11,12 @@ static inline void init_pwm(void) //PB1 set to output: DDRB |= 0b10; OCR1B = 0xefff; //preselect some default - ICR1 = 0xffff; // TOP-wert + ICR1 = 0xffff; // TOP-wert TCCR1A = (1<