Subversion Repositories FlightCtrl

Rev

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

Rev 1122 Rev 1132
Line 61... Line 61...
61
/*
61
/*
62
 * Führt eine Pitch-Berechnung aus, die der Original-SW entspricht.
62
 * Führt eine Pitch-Berechnung aus, die der Original-SW entspricht.
63
 */
63
 */
64
int pitch_mk_value( void ) {
64
int pitch_mk_value( void ) {
65
        register int stickValue = PPM_in[ EE_Parameter.Kanalbelegung[ K_GAS ] ];
65
        register int stickValue = PPM_in[ EE_Parameter.Kanalbelegung[ K_GAS ] ];
-
 
66
//        Warum 120? Gas= 0 ist -125
-
 
67
//      register int pitchCount = stickValue + 120;
66
        register int pitchCount = stickValue + 120;
68
        register int pitchCount = stickValue + 125;
Line 67... Line 69...
67
       
69
       
68
        DebugOut.Analog[26] = stickValue;
70
        DebugOut.Analog[26] = stickValue;
Line 69... Line 71...
69
        DebugOut.Analog[28] = pitchCount;
71
        DebugOut.Analog[28] = pitchCount;