Subversion Repositories FlightCtrl

Rev

Rev 311 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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