Subversion Repositories FlightCtrl

Rev

Rev 371 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 371 Rev 373
Line 44... Line 44...
44
 
44
 
45
        if(EE_Parameter.GlobalConfig & CFG_KOMPASS_AKTIV)
45
        if(EE_Parameter.GlobalConfig & CFG_KOMPASS_AKTIV)
46
        {
46
        {
Line 47... Line 47...
47
                timer0_MM3();           // Kompass auslesen
47
                timer0_MM3();           // Kompass auslesen
48
 
48
 
49
                if (!cntKompass--)              // Aufruf mit 10 Hz
49
                if (!cntKompass--)              // Aufruf mit ~10 Hz
50
                {
50
                {
51
                        KompassValue = heading_MM3();
51
                        KompassValue = heading_MM3();
52
                        KompassRichtung = ((540 + KompassValue - KompassStartwert) % 360) - 180;
52
                        KompassRichtung = ((540 + KompassValue - KompassStartwert) % 360) - 180;