Removed SetSystemClockPrescaler() macro, the clock_prescale_set() avr-libc macro...
[pub/USBasp.git] / Projects / AVRISP_Programmer / AVRISP_Programmer.c
index 9ba3c0e..4bc4f9c 100644 (file)
@@ -167,8 +167,8 @@ int main(void)
        MCUSR &= ~(1 << WDRF);\r
        wdt_disable();\r
 \r
-       /* Disable Clock Division */\r
-       SetSystemClockPrescaler(0);\r
+       /* Disable clock division */\r
+       clock_prescale_set(clock_div_1);\r
 \r
        /* Hardware Initialization */\r
        LEDs_Init();\r