Rev 754 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 754 | Rev 780 | ||
---|---|---|---|
Line 139... | Line 139... | ||
139 | if(BoardRelease == 10) PORTD &= ~(1<<PORTD2);// Speaker at PD2 |
139 | if(BoardRelease == 10) PORTD &= ~(1<<PORTD2);// Speaker at PD2 |
140 | else PORTC &= ~(1<<PORTC7);// Speaker at PC7 |
140 | else PORTC &= ~(1<<PORTC7);// Speaker at PC7 |
141 | } |
141 | } |
Line 142... | Line 142... | ||
142 | 142 | ||
143 | // update compass value if this option is enabled in the settings |
143 | // update compass value if this option is enabled in the settings |
144 | if(ParamSet.GlobalConfig & CFG_COMPASS_ACTIVE) |
144 | if((ParamSet.GlobalConfig & CFG_COMPASS_ACTIVE) || (ParamSet.GlobalConfig & CFG_GPS_ACTIVE)) |
145 | { |
145 | { |
146 | #ifdef USE_MM3 |
146 | #ifdef USE_MM3 |
147 | MM3_Update(); // read out mm3 board |
147 | MM3_Update(); // read out mm3 board |
148 | #endif |
148 | #endif |