Rev 758 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 758 | Rev 842 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | static unsigned int AltICR=0; |
44 | static unsigned int AltICR=0; |
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 | signal += ((signed int)Parameter_UserParam7 - 125); |
Line 49... | Line 50... | ||
49 | AltICR = ICR1; |
50 | AltICR = ICR1; |
50 | 51 | ||
51 | //Syncronisationspause? |
52 | //Syncronisationspause? |