Makefiles and library modified to add a new F_CLOCK constant to give the unprescaled master input clock frequency, so that the correct PLL mask can be determined even when the CPU (F_CPU) clock rate is prescaled outside the normal input range of the PLL.
Started to clean up the AVRISP Programmer project code, donated by Opendous Inc.
This commit is contained in:
parent
fa456ce531
commit
99145a8d7c
40 changed files with 632 additions and 250 deletions
|
@ -37,6 +37,7 @@
|
|||
#define _AVRISP_PROGRAMMER_H_
|
||||
|
||||
/* Includes: */
|
||||
#include <util/delay.h>
|
||||
#include <avr/io.h>
|
||||
#include <avr/wdt.h>
|
||||
#include <avr/interrupt.h>
|
||||
|
@ -189,6 +190,5 @@
|
|||
void ReconfigureSPI(void);
|
||||
void UpdateStatus(uint8_t CurrentStatus);
|
||||
void processHostSPIRequest(void);
|
||||
void delay_ms(uint8_t dly);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue