projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added const where possible to the source functions in the Projects directory.
[pub/USBasp.git]
/
Projects
/
AVRISP
/
AVRISP.c
diff --git
a/Projects/AVRISP/AVRISP.c
b/Projects/AVRISP/AVRISP.c
index
c0572fc
..
7974f1c
100644
(file)
--- a/
Projects/AVRISP/AVRISP.c
+++ b/
Projects/AVRISP/AVRISP.c
@@
-78,7
+78,7
@@
void SetupHardware(void)
ADC_StartReading(VTARGET_ADC_CHANNEL | ADC_RIGHT_ADJUSTED | ADC_REFERENCE_AVCC);
\r
#endif
\r
\r
ADC_StartReading(VTARGET_ADC_CHANNEL | ADC_RIGHT_ADJUSTED | ADC_REFERENCE_AVCC);
\r
#endif
\r
\r
- /* Millisecond timer initialization for
timeouts and delays
*/
\r
+ /* Millisecond timer initialization for
managing the command timeout counter
*/
\r
OCR0A = ((F_CPU / 64) / 1000);
\r
TCCR0A = (1 << WGM01);
\r
TCCR0B = ((1 << CS01) | (1 << CS00));
\r
OCR0A = ((F_CPU / 64) / 1000);
\r
TCCR0A = (1 << WGM01);
\r
TCCR0B = ((1 << CS01) | (1 << CS00));
\r