Rev 1701 | Rev 1760 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1701 | Rev 1713 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | CountMilliseconds++; |
38 | CountMilliseconds++; |
39 | cnt_1ms++; |
39 | cnt_1ms++; |
40 | cnt_1ms %= 2; |
40 | cnt_1ms %= 2; |
Line 41... | Line 41... | ||
41 | 41 | ||
42 | if(!cnt_1ms) UpdateMotor = 1; |
42 | if(!cnt_1ms) UpdateMotor = 1; |
Line 43... | Line 43... | ||
43 | if(!PINC & 0x10) compass_active = 1; |
43 | if(!(PINC & 0x10)) compass_active = 1; |
44 | 44 | ||
45 | if(beeptime) |
45 | if(beeptime) |
46 | { |
46 | { |