AP_EFI: Hirth: fix sensor health bitmask

This commit is contained in:
Bob Long 2024-09-13 07:57:04 +10:00 committed by Peter Barker
parent e32d3ceaf7
commit 72a013952c
1 changed files with 4 additions and 4 deletions

View File

@ -47,10 +47,10 @@ public:
}; };
enum class Sensor_Status_Bitfield : uint8_t { enum class Sensor_Status_Bitfield : uint8_t {
ENGINE_TEMP_SENSOR_OK = 1U<<0, // true if engine temperature sensor is OK ENGINE_TEMP_SENSOR_OK = 1U<<1, // true if engine temperature sensor is OK
AIR_TEMP_SENSOR_OK = 1U<<1, // true if air temperature sensor is OK AIR_TEMP_SENSOR_OK = 1U<<2, // true if air temperature sensor is OK
AIR_PRESSURE_SENSOR_OK = 1U<<2, // true if intake air pressure sensor is OK AIR_PRESSURE_SENSOR_OK = 1U<<3, // true if intake air pressure sensor is OK
THROTTLE_SENSOR_OK = 1U<<3, // true if throttle sensor is OK THROTTLE_SENSOR_OK = 1U<<4, // true if throttle sensor is OK
}; };
private: private: