Subversion Repositories FlightCtrl

Rev

Rev 312 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 312 Rev 323
Line 63... Line 63...
63
               
63
               
64
 
64
 
Line 65... Line -...
65
                if (MM3_heading() > 0) { KompassValue = 360-MM3_heading();}
-
 
66
                if (MM3_heading() < 0 ) { KompassValue = MM3_heading()*-1;}
-
 
67
               
65
                if (MM3_heading() > 0) { KompassValue = 360-MM3_heading();}
68
                       
-
 
Line 69... Line 66...
69
 
66
                if (MM3_heading() < 0 ) { KompassValue = MM3_heading()*-1;}
70
                KompassRichtung = ((540 + KompassValue - KompassStartwert) % 360);
67
 
71
                       
68
                KompassRichtung = ((540 + KompassValue - KompassStartwert) % 360)- 180;