Rev 687 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 687 | Rev 690 | ||
---|---|---|---|
Line 109... | Line 109... | ||
109 | if(BoardRelease == 10) PORTD &= ~(1<<2);// Speaker at PD2 |
109 | if(BoardRelease == 10) PORTD &= ~(1<<2);// Speaker at PD2 |
110 | else PORTC &= ~(1<<7);// Speaker at PC7 |
110 | else PORTC &= ~(1<<7);// Speaker at PC7 |
111 | } |
111 | } |
Line 112... | Line 112... | ||
112 | 112 | ||
113 | // update compass value if this option is enabled in the settings |
113 | // update compass value if this option is enabled in the settings |
114 | if(ParamSet.GlobalConfig & CFG_KOMPASS_AKTIV) |
114 | if(ParamSet.GlobalConfig & CFG_COMPASS_ACTIVE) |
115 | { |
115 | { |
116 | if(PINC & 0x10) |
116 | if(PINC & 0x10) |
117 | { |
117 | { |
118 | cntKompass++; |
118 | cntKompass++; |