diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-26 04:13:55 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-26 04:13:55 +0000 |
commit | d1608d4af321529f0ddef9defcd97669ae9018c3 (patch) | |
tree | 79a2ba0fe2bfa14670a489e77f4c201f380de4f0 /Projects/AVRISP/AVRISP.c | |
parent | 35dac470f243d234d72f34cbaeb1d6c8a15bc435 (diff) | |
download | lufa-d1608d4af321529f0ddef9defcd97669ae9018c3.tar.gz lufa-d1608d4af321529f0ddef9defcd97669ae9018c3.tar.bz2 lufa-d1608d4af321529f0ddef9defcd97669ae9018c3.zip |
Added const where possible to the source functions in the Projects directory.
Added command timeout to the AVRISP project so that incorrectly connected targets no longer freeze the device.
Removed string descriptors from the TeensyHID bootloader to reduce its size.
Diffstat (limited to 'Projects/AVRISP/AVRISP.c')
-rw-r--r-- | Projects/AVRISP/AVRISP.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/AVRISP/AVRISP.c b/Projects/AVRISP/AVRISP.c index c0572fca2..7974f1ca9 100644 --- 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);
#endif
- /* Millisecond timer initialization for timeouts and delays */
+ /* Millisecond timer initialization for managing the command timeout counter */
OCR0A = ((F_CPU / 64) / 1000);
TCCR0A = (1 << WGM01);
TCCR0B = ((1 << CS01) | (1 << CS00));
|