Added board hardware driver support for the Adafruit U4 breakout board.
[pub/lufa.git] / Projects / Webserver / Lib / uip / clock.c
index 8632296..0906e61 100644 (file)
@@ -19,7 +19,7 @@ ISR(TIMER1_COMPA_vect)
 //Initialise the clock
 void clock_init()
 {
-       OCR1A  = ((F_CPU / 1024) / 100);
+       OCR1A  = (((F_CPU / 1024) / 100) - 1);
        TCCR1B = ((1 << WGM12) | (1 << CS12) | (1 << CS10));
        TIMSK1 = (1 << OCIE1A);
 }