Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r644 r666  
    962962        return (not flight.config.usingFS2Crew or not state.parking or
    963963                flight.stage!=const.STAGE_TAXIAFTERLAND) and \
    964                 not state.antiCollisionLightsOn and \
     964                state.antiCollisionLightsOn is False and \
    965965                self.isEngineCondition(state)
    966966
     
    14441444    def isCondition(self, flight, aircraft, oldState, state):
    14451445        """Check if the fault condition holds."""
    1446         return state.groundSpeed>80 and not state.pitotHeatOn
     1446        return state.groundSpeed>80 and state.pitotHeatOn is False
    14471447
    14481448    def logFault(self, flight, aircraft, logger, oldState, state):
Note: See TracChangeset for help on using the changeset viewer.