Rev 517 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 517 | Rev 518 | ||
---|---|---|---|
Line 60... | Line 60... | ||
60 | { |
60 | { |
61 | if(PlatinenVersion == 10) PORTD &= ~(1<<2); |
61 | if(PlatinenVersion == 10) PORTD &= ~(1<<2); |
62 | else PORTC &= ~(1<<7); |
62 | else PORTC &= ~(1<<7); |
63 | } |
63 | } |
Line 64... | Line 64... | ||
64 | 64 | ||
65 | if(EE_Parameter.GlobalConfig & CFG_KOMPASS_AKTIV) |
65 | if(EE_Parameter.GlobalConfig & CFG_KOMPASS_AKTIV || EE_Parameter.GlobalConfig & CFG_GPS_AKTIV) //Abfrage um GPS_AKTIV erweitert, damit auch bei nur eingeschaltetem GPS OHNE Kompass der benötigte Kompassvalue berechnet wird (200907Kr) |
66 | { |
66 | { |
67 | if(PINC & 0x10) |
67 | if(PINC & 0x10) |
68 | { |
68 | { |
69 | cntKompass++; |
69 | cntKompass++; |