Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1131 → Rev 1132

/branches/thjac/V1_10/pitch.c
63,7 → 63,9
*/
int pitch_mk_value( void ) {
register int stickValue = PPM_in[ EE_Parameter.Kanalbelegung[ K_GAS ] ];
register int pitchCount = stickValue + 120;
// Warum 120? Gas= 0 ist -125
// register int pitchCount = stickValue + 120;
register int pitchCount = stickValue + 125;
DebugOut.Analog[26] = stickValue;
DebugOut.Analog[28] = pitchCount;