- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/checks.py
r644 r666 962 962 return (not flight.config.usingFS2Crew or not state.parking or 963 963 flight.stage!=const.STAGE_TAXIAFTERLAND) and \ 964 not state.antiCollisionLightsOnand \964 state.antiCollisionLightsOn is False and \ 965 965 self.isEngineCondition(state) 966 966 … … 1444 1444 def isCondition(self, flight, aircraft, oldState, state): 1445 1445 """Check if the fault condition holds.""" 1446 return state.groundSpeed>80 and not state.pitotHeatOn1446 return state.groundSpeed>80 and state.pitotHeatOn is False 1447 1447 1448 1448 def logFault(self, flight, aircraft, logger, oldState, state):
Note:
See TracChangeset
for help on using the changeset viewer.