Use correct prescale factor

This commit is contained in:
David Kopf 2011-08-18 13:58:20 -04:00
parent 2feed121d2
commit 53737d9a38

View file

@ -130,7 +130,7 @@
#elif F_CPU/CLOCK_CONF_SECOND < 256 * 8 #elif F_CPU/CLOCK_CONF_SECOND < 256 * 8
#define AVR_CONF_TMR0_PRESCALE 8 #define AVR_CONF_TMR0_PRESCALE 8
#elif F_CPU/CLOCK_CONF_SECOND < 256 * 64 #elif F_CPU/CLOCK_CONF_SECOND < 256 * 64
#define AVR_CONF_TMR0_PRESCALE 8 #define AVR_CONF_TMR0_PRESCALE 64
#elif F_CPU/CLOCK_CONF_SECOND < 256 * 256 #elif F_CPU/CLOCK_CONF_SECOND < 256 * 256
#define AVR_CONF_TMR0_PRESCALE 256 #define AVR_CONF_TMR0_PRESCALE 256
#else #else