Removed SetSystemClockPrescaler() macro, the clock_prescale_set() avr-libc macro...
[pub/USBasp.git] / Bootloaders / DFU / BootloaderDFU.c
index 704133f..8cc5fd4 100644 (file)
@@ -109,8 +109,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