Subversion Repositories FlightCtrl

Rev

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

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