Revision 31f4a032 scout_avr/src/range.cpp

View differences:

scout_avr/src/range.cpp
33 33
static void on_edge(int which)
34 34
{
35 35
  unsigned char int_high;
36
  // TODO centralize timer 1
37
  // TODO ensure this is in microseconds even for 16MHz
36 38
  unsigned int time = TCNT1;
37 39
  
38 40
  if (which)

Also available in: Unified diff