Revision 31f4a032
ID | 31f4a0323d38938bb40b2da834fa73fc15003faf |
Some fixes to BOM, which is now tested and it works
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