Subversion Repositories FlightCtrl

Rev

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

Rev 1352 Rev 1374
Line 1216... Line 1216...
1216
 
1216
 
1217
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1217
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1218
// Höhenregelung
1218
// Höhenregelung
1219
// Die Höhenregelung schwächt lediglich das Gas ab, erhöht es allerdings nicht
1219
// Die Höhenregelung schwächt lediglich das Gas ab, erhöht es allerdings nicht
1220
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1220
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1221
  if(UBat > BattLowVoltageWarning) GasMischanteil = (GasMischanteil * BattLowVoltageWarning) / UBat; // Gas auf das aktuelle Spannungvieveau beziehen
1221
  if(UBat > BattLowVoltageWarning) GasMischanteil = ((unsigned int)GasMischanteil * BattLowVoltageWarning) / UBat; // Gas auf das aktuelle Spannungvieveau beziehen
Line 1222... Line 1222...
1222
  GasMischanteil *= STICK_GAIN;
1222
  GasMischanteil *= STICK_GAIN;
1223
 
1223
 
1224
        // if height control is activated
1224
        // if height control is activated