Revision bbf2f5ad toolbox/time.c

View differences:

toolbox/time.c
7 7
#define OCR (F_CPU / PRESCALE / 1000UL)
8 8
#define ERROR (F_CPU / PRESCALE - OCR * 1000UL)
9 9

  
10
static char ready, ms;
10
static volatile char ready;
11
static char ms;
11 12
static uint16_t error;
12 13

  
13 14
ISR(TIMER0_COMPA_vect) {

Also available in: Unified diff