Updated AVR port to work on actual hardware.

This commit is contained in:
skarg
2007-09-25 22:08:14 +00:00
parent 7b88a99e0f
commit da79c3826b
6 changed files with 150 additions and 22 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
/* Prescaling: 1, 8, 64, 256, 1024 */
#define TIMER_PRESCALER 64
/* Count: Timer0 counts up to 0xFF and then signals overflow */
#define TIMER_TICKS (FREQ_CPU/TIMER_PRESCALER/1000)
#define TIMER_TICKS (F_CPU/TIMER_PRESCALER/1000)
#if (TIMER_TICKS > 0xFF)
#error Timer Prescaler value is too small
#endif