aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP_Programmer/AVRISP_Programmer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/AVRISP_Programmer/AVRISP_Programmer.c')
-rw-r--r--Projects/AVRISP_Programmer/AVRISP_Programmer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/AVRISP_Programmer/AVRISP_Programmer.c b/Projects/AVRISP_Programmer/AVRISP_Programmer.c
index 9ba3c0e7e..4bc4f9cc3 100644
--- a/Projects/AVRISP_Programmer/AVRISP_Programmer.c
+++ b/Projects/AVRISP_Programmer/AVRISP_Programmer.c
@@ -167,8 +167,8 @@ int main(void)
MCUSR &= ~(1 << WDRF);
wdt_disable();
- /* Disable Clock Division */
- SetSystemClockPrescaler(0);
+ /* Disable clock division */
+ clock_prescale_set(clock_div_1);
/* Hardware Initialization */
LEDs_Init();