Rev 614 | Rev 930 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 614 | Rev 819 | ||
---|---|---|---|
Line 45... | Line 45... | ||
45 | signed int signal = 0,tmp; |
45 | signed int signal = 0,tmp; |
46 | static int index; |
46 | static int index; |
Line 47... | Line 47... | ||
47 | 47 | ||
48 | signal = (unsigned int) ICR1 - AltICR; |
48 | signal = (unsigned int) ICR1 - AltICR; |
49 | AltICR = ICR1; |
- | |
50 | 49 | AltICR = ICR1; |
|
51 | //Syncronisationspause? |
50 | //Syncronisationspause? |
52 | // if((signal > (int) Parameter_UserParam2 * 10) && (signal < 8000)) |
51 | // if((signal > (int) Parameter_UserParam2 * 10) && (signal < 8000)) |
53 | if((signal > 1100) && (signal < 8000)) |
52 | if((signal > 1100) && (signal < 8000)) |
54 | { |
53 | { |