diff -r 136a79772098 -r ff76255904c4 blackbox/main.h --- a/blackbox/main.h Sat Dec 03 16:42:53 2011 +0100 +++ b/blackbox/main.h Mon Dec 05 17:14:32 2011 +0100 @@ -77,6 +77,8 @@ #define TIMER2_DIVISOR 8 #define VALUE2_50US 0.50e-4 #define TIMER2_50US (uint8_t)(VALUE2_50US * F_CPU/TIMER2_DIVISOR) +#define VALUE2_250US 2.5e-4 +#define TIMER2_250US (uint8_t)((VALUE2_250US * F_CPU/TIMER2_DIVISOR) - 2) #define TIMER1_DIVISOR 8 #define VALUE1_7500NS 0.75e-2