Removed SetSystemClockPrescaler() macro, the clock_prescale_set() avr-libc macro...
[pub/USBasp.git] / Bootloaders / CDC / BootloaderCDC.c
index 54c7b7e..60fe4a4 100644 (file)
@@ -71,8 +71,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
        /* Relocate the interrupt vector table to the bootloader section */\r
        MCUCR = (1 << IVCE);\r